I found this tutorial and thought that it would be good to utillise on a forum as a tool against people trying to hide there IP's
http://www.dynamicwebdevelopers.com/tutorials/?Mode=Browse&CatID=8&TutorialID=53<?
if ($HTTP_X_FORWARDED_FOR) {
print "<b>Proxy Detected...</b><br>";
print "Your Real IP Address: <i>". $HTTP_X_FORWARDED_FOR ."</i><br>";
print "Proxy Server: <i>". $HTTP_VIA ."</i> @ ". $REMOTE_ADDR ."<br>";
} else {
print "<b>No Proxy Detected =(</b><br>";
print "Your Real IP Address: <i>". $REMOTE_ADDR ."</i><br>";
}
?>
its not my code it was written by Sean O`Donnell on 12/09/2001
but its so small, it would make a good addon for the admin centre! I realise that it may not help against advanced attacks but its well worth having.
Tony.