#Here you can call a function to check if the IP is blocked
#and if not then continue to the IF statement
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;
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
I've written about this before. Essentially, a lot of proxy servers are unlikely to be setting the X-Forwarded-For header, particularly web based proxies.
Edit: Thinking about it, there is a more sneaky way to detect multiple accounts, as it appears that's what you're doing. You can use the following method for that. Simply send the data back via AJAX to a PHP script.
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.