ID: 13423
Updated by: jimw
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Analyzed
Bug Type: Unknown/Other Function
Operating System: 
PHP Version: 4.0.4pl1
New Comment:

actually, what is going on is that php's gethostbyname() simply returns the name when 
it can't be resolved. (that seems like rather silly behavior to me, and is probably 
worth changing.)

Previous Comments:
------------------------------------------------------------------------

[2001-09-24 18:12:03] [EMAIL PROTECTED]

When you pass a host name such as ip-255-255-255-255.reverse.mobilenetics.com to 
gethostbyname() it returns the hostname, not the ip address.

Regular hostnames like google.com work.

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=13423&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to