02-23-2012, 02:13 PM
(02-21-2012, 12:27 PM)Duchess Wrote:
Mock is the only place I go online without a proxy.
public function original_ip()
{
if (!empty($_SERVER['HTTP_CLIENT_IP'])) //check ip from share internet
{
$ip=$_SERVER['HTTP_CLIENT_IP'];
}
elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) //to check ip is pass from proxy
{
$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];
}
else
{
$ip=$_SERVER['REMOTE_ADDR'];
}
return $ip;
__________
I guess you refer to highly anonymity proxies and not just the common one's , as with the above script you can reveal the true ip.
Another option is using tor project which provides you with high anonymity with a little sacrifice on the part of using flash player.