[PHP-DEV] Bug #12678: gethostbyname returns hostname instead of adresss From: bobsledbob <email protected>
Date: 08/09/01

From: bobsledbob <email protected>
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

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>