Re: Printing fopen
| From: | Philip Olson | Date: | Fri, 28 Sep 2001 01:40:29 +0000 |
| Subject: | Re: Printing fopen | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69092@lists.php.net to get a copy of this message | ||
just replied to your other very similar question, file() is the function
for you. but, in case you go this route you'd use fgets() to do this, see
the example in the manual :
http://www.php.net/fgets
regards,
Philip Olson
On Fri, 28 Sep 2001, Devon wrote:
> $fp = fopen ("http://localhost/Install.txt",
> "r");
>
> Once the file is open how do I print it out? And also is it possible to
> print it out line bye line?
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>