Quote:
Originally Posted by WhiteOx2
BTW: Does anyone know how to make this redirect to an html page instead of it saying No Proxies?
|
Change:
Code:
if ( isset($_SERVER['HTTP_FORWARDED']) || isset($_SERVER['HTTP_X_FORWARDED_FOR']) || isset($_SERVER['HTTP_VIA']) )
{ die("No Proxies"); }
To:
Code:
$Proxy_Detect = isset($_SERVER['HTTP_FORWARDED']) || isset($_SERVER['HTTP_X_FORWARDED_FOR']) || isset($_SERVER['HTTP_VIA']);
if($Proxy_Detect){
header("Location: http://YOURSITE.com/YOURPAGE.HTML");
}
Change:
http://YOURSITE.com/YOURPAGE.HTML to your settings.
It's a good modification, however in the process it will knock off a lot of users, perhaps research proxies and find out what information they do output, collect this information into an array and check if this is matched while browsing? That way it would only knock off those proxies instead of all, just a thought.
- Zero Tolerance