note 26319 added to function.gethostbyaddr

From: Date: Sat, 26 Oct 2002 08:54:02 +0000
Subject: note 26319 added to function.gethostbyaddr
Groups: php.notes 
Request: Send a blank email to php-notes+get-38579@lists.php.net to get a copy of this message
Is there any way of doing asynchronous address -> hostname lookups with PHP? I need to lookup between 10 and 100 IP addresses on a single page, but I don't want the page to take longer than 10 seconds to load. If I could launch all the DNS lookup requests at once, I'd be able to get the vast majority back within the 10 seconds. (There is no point in doing some sort of cache between page requests since the addresses change rapidly, and I don't want to switch on the Apache HostNameLookups for performance reasons). -- http://www.php.net/manual/en/function.gethostbyaddr.php http://master.php.net/manage/user-notes.php?action=edit+26319 http://master.php.net/manage/user-notes.php?action=delete+26319 http://master.php.net/manage/user-notes.php?action=reject+26319

« previous php.notes (#38579) next »