RE: [PHP] Detecting IP address
| From: | Oosten, Sjoerd van | Date: | Mon, 19 Nov 2001 09:59:37 +0000 |
| Subject: | RE: [PHP] Detecting IP address | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-75083@lists.php.net to get a copy of this message | ||
some loggings:
$LogIp1 = getenv("REMOTE_ADDR");
$LogIpaddr = gethostbyaddr($LogIp1);
$LogIpname = gethostbyname($LogIp1);
$LogBrowser = $HTTP_USER_AGENT;
$LogReferer = getenv("HTTP_REFERER");
________________________________________
Sjoerd van Oosten
Digitaal vormgever svoosten@esites.nl
Datamex E-sites B.V.
http://www.esites.nl
Minervum 7368 Telefoon: (076) 5 730 730
4817 ZH BREDA Telefax: (076) 5 877 757
_______________________________________
-----Oorspronkelijk bericht-----
Van: Heidi Belal [mailto:hmbelal@yahoo.com]
Verzonden: maandag 19 november 2001 10:58
Aan: js-jive mailing list; Php
Onderwerp: [PHP] Detecting IP address
Does anyone have any idea how i can detect a clients
IP address? I've found javascripts on the net but
they only work on netscape and only when java is
enabled. I need it to work on IE.
Thanks!
Heidi
=====
Heidi Belal
ICQ# 32127109
A bus stops at a bus station.
A train stops at a train station. On my desk
I have a work station...
__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net