Thread View: alt.comp.lang.php
1 messages
1 total messages
Started by roel
Tue, 02 Oct 2001 22:30
bad file descriptor
Author: roel
Date: Tue, 02 Oct 2001 22:30
Date: Tue, 02 Oct 2001 22:30
18 lines
1851 bytes
1851 bytes
Can anybody tell me what's wrong with this script?
<?
$fp = fopen ("http://www.yahoo.com", "r");
if($fp)
print("ok");
else print("error");
?>
I get the error:
Warning: php_hostconnect: connect failed in c:\phpdev\www\site\bla.php on
line 2
Warning: fopen("http://www.datablock.be/wait.php","r") - Bad file descriptor
in c:\phpdev\www\site\bla.php on line 2
error
Thanks
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads