Jump to content
MakeWebGames

How To Block Proxies


stryker

Recommended Posts

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

Link to comment
Share on other sites

  • 1 month later...

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. :|

Link to comment
Share on other sites

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...