-
Is there away to do a reverse lookup (for domain name) knowing visitor's IP address if you can?
On my website, I have a page where my visitors can click on PHP links to download files. At the same time, my PHP also retrieves basic information from this download us PHP like the user IP address and sends an email to us all in the background.
So, my question is this. Is there away to retrieve my visitors' domain name using their IP address from which they are requesting information if it is possible? I am running ClearOS and PHP 5.4
I did read that you have to set up your webserver for this especially enabling hostnamelookup on inside httpd.conf
I simply want to $_SERVER["REMOTE_HOST"] for my visitor's domain name.
Any hints or clues will be greatly appreciated. Thanks. -