Bug #18242 Updated: fsockopen() return FALSE
| From: | jason@php.net | Date: | Tue, 09 Jul 2002 21:14:05 +0000 |
| Subject: | Bug #18242 Updated: fsockopen() return FALSE | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-13636@lists.php.net to get a copy of this message | ||
ID: 18242
Updated by: jason@php.net
Reported By: guichi@club-internet.fr
-Status: Open
+Status: Closed
Bug Type: Sockets related
Operating System: WIN NT4
PHP Version: 4.2.1
New Comment:
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
Error behavior and timeout functionality where fixed/implemented on
win32 recently
-Jason
Previous Comments:
------------------------------------------------------------------------
[2002-07-09 09:55:36] guichi@club-internet.fr
Hello
I'm using fsockopen on an url.
$File is FALSE but errno is 0 and errstr empty
Do I forget anything in my php configuration file?
Best regards
Niorj
$File = fsockopen("toto",8080,&$errno , &$errstr ,$timeout=50);
$Buffer = "";
if($File===FALSE)
{
$Buffer="$errstr ($errno)";
echo $Buffer;
print_r($File);
exit();
}
else
....
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18242&edit=1