RE: [PHP] reading from files
| From: | Gryffyn, Trevor | Date: | Fri, 17 Sep 2004 21:13:28 +0000 |
| Subject: | RE: [PHP] reading from files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-197052@lists.php.net to get a copy of this message | ||
I usually use file():
http://www.php.net/manual/en/function.file.php
-TG
> -----Original Message-----
> From: Merlin [mailto:news.groups@web.de]
> Sent: Friday, September 17, 2004 4:17 PM
> To: php-general@lists.php.net
> Subject: [PHP] reading from files
>
>
> Hi there,
>
> I am wondering how to read lines from a file to a php array?
> I would like to
> integrate a logfile into a html site. Is it possible to read
> line by line and to
> check how many lines there are in total?
>
> Thank you for any hint on that,
>
> Merlin
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>