I currently log ip address that reach my site. However, I want to be able
to log both the ip address and remote name. Can anyone help?
Thanks,
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
check this out
http://www.php.net/manual/en/function.gethostbyaddr.php
jim
- Original Message -
From: Ben Clumeck [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 14, 2001 2:48 PM
Subject: [PHP] IP Address Variable
I currently log ip address that reach my site
: Wednesday, November 14, 2001 2:57 PM
To: Ben Clumeck; [EMAIL PROTECTED]
Subject: Re: [PHP] IP Address Variable
check this out
http://www.php.net/manual/en/function.gethostbyaddr.php
jim
- Original Message -
From: Ben Clumeck [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 14
It may not work, if you are running Windows PHP on your localhost at home.
I'll bet you are trying to log getenv('REMOTE_HOST').
Been there done that. I use http://www.indigostar.com/microweb.htm to create a
localhost to develop and debug and then upload to the server. (I pay for modem
time.) I
4 matches
Mail list logo