View Single Post
Old 08-29-2005, 10:36 AM  
E Guru
Confirmed User
 
Join Date: Jul 2005
Posts: 658
Quote:
Originally Posted by lamerhooD
If
$_SERVER['REMOTE_ADDR'] doesn't work, superglobals may be broken

Try:

$ip = getenv('REMOTE_ADDR');
echo $ip
No man, it works. It just doesn't get the correct ip.
E Guru is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote