Thread: Tech question
View Single Post
Old 08-03-2001, 02:53 PM  
Robert
Ask me about negative cash flow
 
Join Date: Feb 2001
Posts: 533
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).]
Robert is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote