02-18-2009, 01:49 AM
|
#1 (permalink)
|
|
The Acquainted
Join Date: Oct 2008
Location: Cincinnati
Posts: 151
Thanks: 14
|
Proxy detection
I was wanting to know if anyone can help me update this page??? I do not know anything about this lol I am more into game coding.
PHP Code:
<?php
include("html.php");
secureheader();
siteheader();
echo "Starting Proxy Detection System<br><br>";
#Here you can call a function to check if the IP is blocked
#and if not then continue to the IF statement
if ($HTTP_X_FORWARDED_FOR)
{
echo "Warning: proxy server detected!! Admin have been notified, if your account is suspended it will not be unlocked!!<br><br>";
echo "Connected Via: " . $HTTP_VIA . " - " . $REMOTE_ADDR;
echo "<br>Your real IP: " . $HTTP_X_FORWARDED_FOR;
}
else
{
echo "Proxy detection clear: Enjoy the game.<br>";
echo "Your IP: " . $REMOTE_ADDR;
}
?>
What I want it to do is make sure it works lol I have gotten on a proxy server and tested and it still let me through. I want to work til it loads to the ext page
|
|
|
|