Bug #13422: gethostbyname() returns hostname when ip address is part of hostname

From: Date: Mon, 24 Sep 2001 22:04:23 +0000
Subject: Bug #13422: gethostbyname() returns hostname when ip address is part of hostname
Groups: php.dev 
Request: Send a blank email to php-dev+get-66497@lists.php.net to get a copy of this message
From: gardner@armory.com Operating system: Linux 2.2 SMP PHP version: 4.0.4pl1 PHP Bug Type: Unknown/Other Function Bug description: gethostbyname() returns hostname when ip address is part of hostname 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 bug report at: http://bugs.php.net/?id=13422&edit=1

« previous php.dev (#66497) next »