note 43293 added to function.fgets
| From: | timr at rn2 dot php dot net | Date: | Wed, 16 Jun 2004 23:13:23 +0000 |
| Subject: | note 43293 added to function.fgets | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-71170@lists.php.net to get a copy of this message | ||
If you need to read an entire file into a string, use file_get_contents(). fgets() is most useful
when you need to process the lines of a file separately.
----
Manual Page -- http://www.php.net/manual/en/function.fgets.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43293
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43293&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43293&report=yes
Search -- http://master.php.net/manage/user-notes.php