I use the following script: http://aidan.dotgeek.org/lib/?file=Visitor.php
As you've been told about 400 times, there's no reliable way to get the information. The above script checks if the client connected using a proxy, then falls back to what the webserver sends. "Rosen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > How can I get remote IP adress of client? > I use the fillow script:: > > $ip=getenv('HTTP_X_FORWARDED_FOR'); > if (!$ip) > { > $ip = getenv('REMOTE_ADDR'); > } > > > But sometime it return me "unknown" sa IP adress. > > Can someone help me ? > > Thanks in advance! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php