Friday, September 22, 2006

How do I get a users IP address?

Question :
How do I get a users IP address?

Answer :
The users ip address is stored in the environment variable $REMOTE_ADDR, if you want to resolve the domain name for that ip use:

No comments: