Location: PHPKode > scripts > CrawlProtect > crawlprotect/noaccess/noaccess10.php
<?php
//----------------------------------------------------------------------
//  CrawlProtect 2.0.0
//----------------------------------------------------------------------
// Protect your website from hackers
//----------------------------------------------------------------------
// Author: Jean-Denis Brun
//----------------------------------------------------------------------
// Website: www.crawlprotect.com
//----------------------------------------------------------------------
// That script is distributed under GNU GPL license
//----------------------------------------------------------------------
// file: noaccess10.php
//----------------------------------------------------------------------
//  Last update: 23/06/2010
//----------------------------------------------------------------------
error_reporting(E_ALL);
header( "Status: 403 request forbidden", false, 403);
$ip = $_SERVER['REMOTE_ADDR'];
$date = date("M j . Y , H:i");
$url=$_SERVER['REQUEST_URI'];
include "../include/functionsdata.php";
include "../include/configconnect.php";
$connexion = @mysql_connect($crawlthost,$crawltuser,$crawltpassword);
$selection = @mysql_select_db($crawltdb);
$sql ="INSERT INTO crawlp_stats (date, attack, url, ip) VALUES ( '".sql_quote($date)."','1','".sql_quote($url)."','".sql_quote($ip)."')";
$requete = mysql_query($sql, $connexion);
echo"<!-Noaccess1 Bad url= ".$url."  -->\n";
?>
<html>
<head>
<title>CrawlProtect 2-0-0</title>
<meta http-equiv="Content-Language" content="en">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<br><br><br><br><br><br>
<div align="center">
<h1>This site is protected by CrawlProtect !!!</h1>
<h1>Your visit has been blocked.</h1>
<p>If you think that this shouldn't have been the case, please contact the webmaster.</p>
</div>
<br><br><br>
</body>
</html>
Return current item: CrawlProtect