note 31150 added to function.gethostbyaddr

From: Date: Fri, 11 Apr 2003 08:59:08 +0000
Subject: note 31150 added to function.gethostbyaddr
Groups: php.notes 
Request: Send a blank email to php-notes+get-46486@lists.php.net to get a copy of this message
Just to fun that gethostbyadd() returns server machine name known in LAN rather then its DNS if I try to call it against my own host (from workstation), whether it would local (behind the proxy) or global (of proxy itself) IP or just loop 127.0.0.1. And thus you can get LAN names of other workstations by its intranet IPs (I mean smth like 192.168.0.???) Fun :) -- http://www.php.net/manual/en/function.gethostbyaddr.php http://master.php.net/manage/user-notes.php?action=edit+31150 http://master.php.net/manage/user-notes.php?action=delete+31150 http://master.php.net/manage/user-notes.php?action=reject+31150

« previous php.notes (#46486) next »