Jump to content
MakeWebGames

Recommended Posts

Posted

put this line in your header file in you login and your register file.

 

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

 

very basic but does what it should

Posted

Re: How To Block Proxies

not really, most proxies don't send the http_x_forwarded_for, and you can set http headers to whatever you want... I can set my user agent to 'a' and http_via to 'a' and I'll be able to bypass it

  • 1 month later...
Posted

Re: How To Block Proxies

i've seen this used in Urban-Riot. it blocks all the people it shouldnt.

it sometimes would get the computers default ip and see it as a proxy somehow and block them from playing.

i've yet to see it block any proxy i've used. :|

Posted

Re: How To Block Proxies

Yes exactly. Even with a proxy it's still easy to detect cheaters. you just don't have 100% proof they had cheated... usualy.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...