On Fri, Feb 09, 2001 at 09:02:04AM -0600, Tyler Longren wrote:
> Could you perform fread() on a remote file?
Yes I could, and so can you, so why not try it?
An example:
$handle = fopen("http://www.php.net/manual/en/function.fread.php", "r");
while($line = fread($handle, 255)) {
echo "$line";
Hello everybody,
Could you perform fread() on a remote file? Example:
$file = fopen("http://www.myurl.com/test.html", "rb");
$data = fread($file, filesize('http://www.myurl.com/test.html'));
???
Thanks!
Tyler Longren
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [
2 matches
Mail list logo