Thread
:
How to get clients ip in php
View Single Post
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
View Public Profile
Find More Posts by E Guru