On Thursday 08 February 2001 18:43, Rob Root wrote:

> <?php
>     $fp = fopen("test.txt", "r");
>     header("content-type: text/plain");
>     fpassthru($fp);
>     fclose($fp);
> ?>
>
> And got:
> Hello, World
> <br>
> <b>Warning</b>:  1 is not a valid File-Handle resource in
> <b>/home/robr/public_html/php/getpdf.php</b> on line <b>5</b><br>

That most likely means the fopen () failed.

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

This is JohnC IMHO, I compaired tri-word groupings here and in his plan
and got a good match.

- /. posting discussing the likelihood that an AC post that claimed to be
posted by John Carmack during his honeymoon (and having the login info at
home) was actually from him.

--
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