This variable contains the IP address of the visitor:
$HTTP_SERVER_VARS[REMOTE_ADDR]
Best regards,
Eivind
- Original Message -
From: Cosmin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 23, 2002 12:16 PM
Subject: [PHP] Re: get ip of visitors
Thanks to all, very usefull samples
Cosmin
Cosmin Vlasiu [EMAIL PROTECTED] wrote in message
007d01c1ea9d$9db78660$[EMAIL PROTECTED]">news:007d01c1ea9d$9db78660$[EMAIL PROTECTED]...
Hello,
How can I take the IP of the visitator of my php page?
not gethostbyname...
I need the ip of any visitator not for the specified visitator.
Thank you
Cosmin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php