note 8110 added to file

From: Date: Sun, 27 Aug 2000 21:33:55 +0000
Subject: note 8110 added to file
Groups: php.notes 
Request: Send a blank email to php-notes+get-3535@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 http://www.php.net/manual/function.file.php

« previous php.notes (#3535) next »