From: [EMAIL PROTECTED] Operating system: BSDI 4.1 PHP version: 4.0.6 PHP Bug Type: Unknown/Other Function Bug description: gethostbyname returns the name not the IP addr. This is basically the same report as 8754, 12678, and 8856. The gethostbyname function returns the name instead of the IP address. The host is configured correctly and names can be resolved from the shell using nslookup, dig, etc. This bug first appeared in 4.0.4 (although I didn't know it until now) and is present in 4.0.6 and 4.0.8-dev (php4-200109251335.tar.gz - latest from the snapshots dir as of 9/26/01). I regressed the bug back to my previous version of 3.0.14 and the bug is not present in that version. I have tried both gethostbyname (returns the name) and gethostbynamel (returns 0 items in the array). -- Edit bug report at: http://bugs.php.net/?id=13443&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]