Location: PHPKode > scripts > PHP bans and trap > php-bans-and-trap/trap/index.php
<?php
// robots.txt bypass trap detection system.
// designed to full robots in to thinking this is a real directory
//
include $_SERVER[DOCUMENT_ROOT].'/data/class.ban_embed_sql.php'; 
$trap = new Ban_Control();
$traparray = array(
				'proxy_check' => 0,
				'robot_check' => 1,
				'ban_check' => 1,
		 		);
$trap->Ban($traparray); // check and do the bans

?>
Return current item: PHP bans and trap