On Saturday 18 September 2004 04:58, Steve Brown wrote:
> > 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?
>
> I'm new here, so someone ple
On Fri, 17 Sep 2004 15:58:04 -0500, Steve Brown <[EMAIL PROTECTED]> wrote:
> I'm new here, so someone please tell me if "RTFM" is frowned upon as a
> response. :)
RTFA and find out :)
--
Greg Donald
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.ne
[snip]
I'm new here, so someone please tell me if "RTFM" is frowned upon as a
response. :)
[/snip]
Yes.
Becasue you have forgotten the also important STFA and STFW. All or
nothingall or nothing.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
I usually use file():
http://www.php.net/manual/en/function.file.php
-TG
> -Original Message-
> From: Merlin [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 17, 2004 4:17 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] reading from files
>
>
> Hi there,
>
> I am wondering how to read
From: "Merlin" <[EMAIL PROTECTED]>
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,
Hint: http://www.php.net/manua
[snip]
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?
[/snip]
Start with http://www.php.net/fopen
--
PHP General Mailing List (http://www.php.n
> 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?
I'm new here, so someone please tell me if "RTFM" is frowned upon as a
response. :)
http://w
On Fri, 17 Sep 2004 22:16:43 +0200, Merlin <[EMAIL PROTECTED]> wrote:
> 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 h
use the functoin file, it does exactly that.
http://ca3.php.net/manual/en/function.file.php
Jason
Merlin <[EMAIL PROTECTED]> 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 li
--- Merlin <[EMAIL PROTECTED]> 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?
http://www.php.net/file
>
> Th
[snip]
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,
[/snip]
http://www.php.net/fgets is a good starting poin
11 matches
Mail list logo