Re: reading from files
| From: | Jason Davidson | Date: | Fri, 17 Sep 2004 20:54:33 +0000 |
| Subject: | Re: reading from files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-197042@lists.php.net to get a copy of this message | ||
use the functoin file, it does exactly that.
http://ca3.php.net/manual/en/function.file.php
Jason
Merlin <news.groups@web.de> wrote:
>
> 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
>
>