Re: [PHP-DEV] PHP 4.0 Bug #8856 Updated: gethostbyname returns hostname instead of adress

2001-03-11 Thread Stig Venaas
On Sun, Mar 11, 2001 at 10:28:00PM -0800, [EMAIL PROTECTED] wrote: > > For at least some months, gethostbyname() in sockets.c has > > been replaced by gethostbyname() in ext/standard/dns.c > > which does > > sockets.c in ext/sockets? That has been #if 0'd out ever since it was > originally writte

[PHP-DEV] PHP 4.0 Bug #8856 Updated: gethostbyname returns hostname instead of adress

2001-03-10 Thread venaas
ID: 8856 Updated by: venaas Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Network related Assigned To: Comments: For at least some months, gethostbyname() in sockets.c has been replaced by gethostbyname() in ext/standard/dns.c which does memcpy(&in.s_addr, *(hp->h_addr_list), sizeof

[PHP-DEV] PHP 4.0 Bug #8856 Updated: gethostbyname returns hostname instead of adress

2001-03-10 Thread niels
ID: 8856 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Network related Description: gethostbyname returns hostname instead of adress >It sounds like a DNS problem to me. >It would be wise if you check that out too. I though about this too at first, but the rig

[PHP-DEV] PHP 4.0 Bug #8856 Updated: gethostbyname returns hostname instead of adress

2001-03-10 Thread derick
ID: 8856 Updated by: derick Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Network related Assigned To: Comments: It sounds like a DNS problem to me. It would be wise if you check that out too. Previous Comments: ---

[PHP-DEV] PHP 4.0 Bug #8856 Updated: gethostbyname returns hostname instead of adress

2001-03-10 Thread sniper
ID: 8856 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Network related Assigned To: Comments: Works for me just fine with latest CVS. Please try the latest CVS snapshot from http://snaps.php.net/ --Jani Previous Comments: --