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";
}
fclose($handle);

-- 
Jason Stechschulte
[EMAIL PROTECTED]
--
One of the reasons Perl is faster than certain other unnamed interpreted
languages is that it binds variable names to a particular package (or
scope) at compile time rather than at run time.
             -- Larry Wall in <[EMAIL PROTECTED]>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to