ID: 21736 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Sockets related Operating System: Linux (kernel 2.4.18) PHP Version: 4.3.0 New Comment:
Hi, Thanks for your answer. You're right, it is not the fsockopen() which times out. It is the script itself because the fsockopen() never responds. After 1 minute waiting for a respond, my browser give up. So I don't have any error message from the script. Here is some hints: - the script runs fine on PHP4.2.x but not on PHP4.3.0 - fsockopen("207.46.245.61", 80); works fine on both PHP4.3.0 and PHP4.2.x - fsockopen("lb.msnbc.com", 80); also works fine on both PHP4.3.0 and PHP4.2.x - if you need, you can find the phpinfo page at this address : http://w06.httpserveur.net/phpinfo.php Thans a lot. Previous Comments: ------------------------------------------------------------------------ [2003-01-18 18:17:46] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. What times out? The script or the fsockopen call? What is the error message? *please* read the info here: http://bugs.php.net/how-to-report.php and then fill in more information to make this a useful bug report. ------------------------------------------------------------------------ [2003-01-18 16:36:59] [EMAIL PROTECTED] Hi, PHP4.3.0 is a great version. Congratulations. Just on thing about fsockopen() Let's try this simple script : <? echo fsockopen("www.msnbc.com", 80); ?> It works fine in PHP4.2.x but it timeouts in PHP4.3.0 Thanks a lot ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21736&edit=1