Bug #12678: gethostbyname returns hostname instead of adresss

From: Date: Thu, 09 Aug 2001 19:57:51 +0000
Subject: Bug #12678: gethostbyname returns hostname instead of adresss
Groups: php.dev 
Request: Send a blank email to php-dev+get-62733@lists.php.net to get a copy of this message
From: bobsledbob@yahoo.com Operating system: Linux 2.2.16-22 PHP version: 4.0.6 PHP Bug Type: Network related Bug description: gethostbyname returns hostname instead of adresss I'm having a problem where gethostbyname is returning the hostname not the IP address. Resolving hosts works fine on the command line with nslookup, host, etc. This is the exact problem as bug #8856. Andy said it should be resolved in 4.06, but I'm having problems. Thanks. Adam -- Edit bug report at: http://bugs.php.net/?id=12678&edit=1

« previous php.dev (#62733) next »