RE: [PHP-WIN] getting ip
| From: | Emore, Emmanuel | Date: | Wed, 01 Nov 2000 12:10:17 +0000 |
| Subject: | RE: [PHP-WIN] getting ip | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-3616@lists.php.net to get a copy of this message | ||
This should do it for you:
<? $address = getenv("REMOTE_ADDR"); ?>
-----Original Message-----
From: Michael Norum [mailto:msanorum@online.no]
Sent: Wednesday, November 01, 2000 7:04 AM
To: php-windows@lists.php.net
Subject: [PHP-WIN] getting ip
i'm trying to make a script that will log all visitors to a webpage. but in
order to do that i need a function that gets the client ip adress. do any of
you know if such a function exists?
Michael
http://denandresiden.cjb.net