Jump to content

Need help Blocking proxy


ILYAS415

Recommended Posts

Help will really be appreciated. Ive tried using this code but still some1 i  i.p banned on my game site can still access my game :S

This was the code i used but i think it only blocks registered proxies:

if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) || ($_SERVER['HTTP_USER_AGENT']=='') || ($_SERVER['HTTP_VIA']!='')){
        die("Don't use proxies, please.");
}

 

Thanks, help would be very appreciated

Link to comment
https://forums.phpfreaks.com/topic/66209-need-help-blocking-proxy/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.