Click to See Complete Forum and Search --> : block proxy users


Ruriko
07-23-2007, 05:32 AM
Hi is there a script that can block proxy users accessing my website?

bokeh
07-23-2007, 03:11 PM
Yes, disconnect the server from the internet.

ellisgl
07-31-2007, 01:48 PM
if you have an array of proxy IP addresses then perform a match from the incoming ip address.

<?php
$proxies = array('10.10.10.1'=>1, '10.10.10.2'=>1);

if(isset($proxies[$_SERVER['REMOTE_ADDR']]))
{
die('Go away!');
}
echo 'Good.';
?>