UNAUTHORIZED ACCESS DETECTED!
YOUR ELECTRONIC INFORMATION IS:
Your IP address is:
";
print "$ip
";
print "Your ISP and/or Host address is:
";
print "$hostaddress
";
print "Your browser information is:
";
print "$browser
";
print "Where you came from (if you clicked on a link to get here):
";
if ($referred == "") {
print "This page was directly requested!";
}
else {
print "$referred";
}
// replace youraddress@yourdomain.com with the e-mail account you want to use
// to receive system e-mails, i.e. the IP address and host name of the "offender"
$to = ''youraddress@yourdomain.com'';
$subject = ''Unauthorized Access Log'';
$message = gethostbyaddr($_SERVER[''REMOTE_ADDR'']);
$message2 = $_SERVER[''REMOTE_ADDR''];
$headers = ''From: youraddress@yourdomain.com'' . "
" .
''Reply-To: youraddress@yourdomain.com'' . "
" .
''X-Mailer: PHP/'' . phpversion();
mail($to, $subject, $message, $message2, $headers);
?>
This information has automatically been recorded and forwarded to the appropriate authorities for review.
Your browser will now be redirected automatically. Thank you.