RE: [PHP] file reading and textarea problem
| From: | Maxim Maletsky \(PHPBeginner.com\) | Date: | Wed, 03 Oct 2001 21:34:51 +0000 |
| Subject: | RE: [PHP] file reading and textarea problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69835@lists.php.net to get a copy of this message | ||
Yup.
fread()
Read on
PHP.net/fread
PHP.net/fgets
...to learn how to manipulate files.
Maxim Maletsky
www.PHPBeginner.com
-----Original Message-----
From: Nikola Veber [mailto:veber@ptt.yu]
Sent: mercoledi 3 ottobre 2001 11.11
To: php forum
Subject: [PHP] file reading and textarea problem
Hi !
I'm having a problem with the following : I have a log file on my site,
that records date,
time and the user's system. Each entry is placed in a new line. Now, I
can only read
the first line with fgets($filename, 4096). Is there another function,
or the 4096 number
should be changed in order to let me read the whole file.
Thanks
Nikola
--
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