Bug #18242: fsockopen() return FALSE
| From: | guichi at club-internet dot fr | Date: | Tue, 09 Jul 2002 13:55:37 +0000 |
| Subject: | Bug #18242: fsockopen() return FALSE | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-13602@lists.php.net to get a copy of this message | ||
From: guichi@club-internet.fr
Operating system: WIN NT4
PHP version: 4.2.1
PHP Bug Type: Sockets related
Bug description: fsockopen() return FALSE
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 bug report at http://bugs.php.net/?id=18242&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18242&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18242&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18242&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18242&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18242&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18242&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18242&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18242&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18242&r=globals