On Friday 21 November 2003 02:59, Jason Gerfen wrote: > So in that case there isn't a $_SERVER function to gather the remote > computer name?
1) print_r($_SERVER) to see what is available 2) it may be available if you have set your webserver to do DNS lookups. But because it is expensive (ie takes quite a while to do in comparison to simply serving the webpage) it is usually disabled 3) you can always use gethostbyaddr($_SERVER['REMOTE_ADDR']) whenever it is needed. But do note that $_SERVER['REMOTE_ADDR'] is not a wholly reliable indicator of who your client is. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Be valiant, but not too venturous. Let thy attire be comely, but not costly. -- John Lyly */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php