[PHP-DEV] Bug #13443 Updated: gethostbyname returns the name not the IP addr.

2001-09-26 Thread brooks
ID: 13443 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Duplicate Bug Type: Unknown/Other Function Operating System: BSDI 4.1 PHP Version: 4.0.6 New Comment: Does PHP require a local bind running? Everything seems to point in that direction. The resolver libs are

[PHP-DEV] Bug #13443 Updated: gethostbyname returns the name not the IP addr.

2001-09-26 Thread jimw
ID: 13443 Updated by: jimw Reported By: [EMAIL PROTECTED] Status: Duplicate Bug Type: Unknown/Other Function Operating System: BSDI 4.1 PHP Version: 4.0.6 New Comment: php does not require a local dns server to be running unless your system's C library gethostbyname() call does (which seems

[PHP-DEV] Bug #13443 Updated: gethostbyname returns the name not the IP addr.

2001-09-26 Thread venaas
ID: 13443 Updated by: venaas Reported By: [EMAIL PROTECTED] Status: Duplicate Bug Type: Unknown/Other Function Operating System: BSDI 4.1 PHP Version: 4.0.6 New Comment: PHP uses the resolver library(ies) installed on your system, just as the other software installed. It is possible that you

[PHP-DEV] Bug #13443 Updated: gethostbyname returns the name not the IP addr.

2001-09-25 Thread jimw
ID: 13443 Updated by: jimw Reported By: [EMAIL PROTECTED] Old Status: Open Status: Duplicate Bug Type: Unknown/Other Function Operating System: BSDI 4.1 PHP Version: 4.0.6 New Comment: duplicate of 13423, among the others listed in the report. gethostbyname() returns the hostname it is passed

Re: [PHP-DEV] Bug #13443 Updated: gethostbyname returns the name not the IP addr.

2001-09-25 Thread jimw
Kevin Brooks [EMAIL PROTECTED] wrote: I completely agree with you. I just think we're talking about 2 different things. I agree that the php_gethostbyname call should NOT return the hostname if it fails. My problem is that it is failing for no good reason, as it seems others have reported.