Bug #13422 Updated: gethostbyname() returns hostname when ip address is part of hostname
| From: | sniper@php.net | Date: | Tue, 25 Sep 2001 13:50:03 +0000 |
| Subject: | Bug #13422 Updated: gethostbyname() returns hostname when ip address is part of hostname | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-66547@lists.php.net to get a copy of this message | ||
ID: 13422
Updated by: sniper
Reported By: gardner@armory.com
Old Status: Open
Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Linux 2.2 SMP
PHP Version: 4.0.4pl1
New Comment:
submitted twice.
Previous Comments:
------------------------------------------------------------------------
[2001-09-24 18:04:23] gardner@armory.com
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=13422&edit=1