Jump to content

Proxy detection. advance top up needed.


redarrow

Recommended Posts

Advance thank you.

 

I got this code, and created it so that all proxy ip don't get to join, my web site.

 

 

Can any body advance the code as commercial proxy still get in.

 

<?php
if (
      $_SERVER['HTTP_X_FORWARDED_FOR']
   || $_SERVER['HTTP_X_FORWARDED']
   || $_SERVER['HTTP_FORWARDED_FOR']
   || $_SERVER['HTTP_CLIENT_IP']
   || $_SERVER['HTTP_VIA']
   || in_array($_SERVER['REMOTE_PORT'], array(8080,80,6588,8000,3128,553,554))
   || @fsockopen($_SERVER['REMOTE_ADDR'], 80, $errno, $errstr, 30))
{
    exit('Proxy detected');
}
?>

 

If you got any code that relates to stopping proxy from accessing your web site.

 

Then please post it, or link me to the correct link, to read there way off stopping proxy servers, getting to access there web site.

Link to comment
https://forums.phpfreaks.com/topic/148480-proxy-detection-advance-top-up-needed/
Share on other sites

I fort if i block proxy ip address, then i wont have users that join the web site play terrible games like spammers, advertisers, child hackers.

 

original ip address users static or dynamic ip will be proper user's.

 

well traceable anyway.

 

 

Just great. You know, I use national telecom as my ISP. Being the national telecom, there are lots of script kiddies in same IP range as me. Result? I am blocked from like half of internet and have to use proxies to see some of my favourite sites. Think about it.

A bit off advise then,

 

Do you think that blocking proxy servers, will decrease sales on a web site?

 

If so then ill scrap the i dear.

 

(( your reply like reverse, i am doing, only have proxy users.))

 

As time goes on and software comes more advance, everybody hiding .

probably have to scrap this i dear totally.

 

Another brain storm down the pan.

 

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.