time for PHP gurus
Rose, try this
if ($HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"] != ""):
$IP = $HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"];
$host = @gethostbyaddr($HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"]);
endif;
Hope that will do the job
------------------
Smashing Thumbs TGP
[This message has been edited by Robert (edited 08-03-2001).]