note 8110 deleted from file by ronabop
| From: | ronabop@php.net | Date: | Thu, 31 Aug 2000 05:29:47 +0000 |
| Subject: | note 8110 deleted from file by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3725@lists.php.net to get a copy of this message | ||
------------------------------------------------
micfur@hotmail.com
01-Aug-2000 03:50
Hi, I am getting this error returned :
Warning: File("http://www.php.net") - No such file
or directory
when I try to use the 'file' function. Any ideas?
Thanks
-------------------------------------------------
I am getting the same thing, but only if I call one file() function after another using the path
"http://".
$phpnet = implode("n", file("http://www.php.net"));
works fine. But
$amazoncom = implode("n", file("http://www.amazon.com"));
$phpnet = implode("n", file("http://www.php.net"));
does not work right. I get the error saying:
Warning: File("http://www.php.net") - No such file
or directory
interestingly
$amazoncom = implode("n", file("http://www.amazon.com"));
$phpnet = implode("n", file("http://www.php.net"));
$localfile = implode("n", file("/path/to/localfile.inc"));
gives me the same error. I am guessing there is some bug in PHP 3.0.9 (what I am running) that
doesn't allow me to have multiple file() calls to "http://".
--Kit