How do I get a user's IP address ?
The users ip address is stored in the environment variable $REMOTE_ADDR, if you want to resolve the domain name for that ip (if any) use:
$domain = GetHostByName($REMOTE_ADDR);
$domain = GetHostByName($REMOTE_ADDR); ?>
0 Comments:
Post a Comment
<< Home