![]() |
What is the code for displaying a visitors host
I have the code for the IP, but what is the code for displaying the host address? For example, I want to make an error page that says something like "Your username and password have been logged and will be reviewed, your IP address is _________ and your host is _________."
Thanks in advance. :thumbsup |
perl, php, asp or hahahahahahahahahaha?
|
Quote:
|
sorry i have no idea about that!!
|
PHP Code:
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); echo $hostname; (because the php quoting stuff looks really small.) |
Quote:
|
|
Quote:
|
| All times are GMT -7. The time now is 01:19 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123