Cheers for the reply
I'm still getting: Using Proxy. Your Proxy IP is (my real ip). Your real IP address is: (my real ip)
Thanks again!

Try this then:
<?php
$y = $_SERVER["REMOTE_ADDR"];
$x = $_SERVER["HTTP_X_FORWARDED_FOR"];
if (!$x)
{
echo "Not Using Proxy. Your IP address is: $y";
}
if(empty($y))
{
echo "Using Proxy. Your Proxy IP is $x. Your real IP address is: $y";
}
?>
Cheers for the reply
It's not displaying anything now though
Thanks again

Jeez...3 pages and no one mentions the cache.
Wasteful to run a query if something is in cache.
(2012-08-08, 09:00 PM)labrocca Wrote: [ -> ]Jeez...3 pages and no one mentions the cache.
Wasteful to run a query if something is in cache.
Because the discussion turned into check if proxy or not.