getenv() alternative
| From: | Philip Thompson | Date: | Wed, 29 Sep 2004 22:02:31 +0000 |
| Subject: | getenv() alternative | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-36465@lists.php.net to get a copy of this message | ||
Hi all.
I am needing to obtain the IP address of a user who logs into the system. I tried to use
getenv("REMOTE_ADDR"), however, this function does not work in ISAPI mode, which is what I am running.
Is there an alternative to obtaining the IP address? I have looked around, but I cannot seem to find anything.
Thanks in advance,
~Philip