note 56813 deleted from function.fgets by betz
| From: | betz@php.net | Date: | Fri, 16 Sep 2005 09:23:31 +0000 |
| Subject: | note 56813 deleted from function.fgets by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-95280@lists.php.net to get a copy of this message | ||
Note Submitter: kit dot lester at lycos dot co dot uk
----
Where this page says
"...The file pointer must be valid, and must point to a file successfully opened by fopen()
or fsockopen(). ..."
it really means
"...and not yet closed by fclose()."
[I found this out the stupid way - by writing "clever" code that was made simpler by
assuming that feof() & such still worked after closing.]