|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-01-18 16:36 UTC] support at websiteout dot net
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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 21:00:01 2025 UTC |
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.