note 31129 deleted from function.fgets by sniper
| From: | sniper@php.net | Date: | Fri, 26 Sep 2003 10:14:35 +0000 |
| Subject: | note 31129 deleted from function.fgets by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57165@lists.php.net to get a copy of this message | ||
Note Submitter: de \ kibo \ niels
----
Apparently, the buffer parameter is not optional after all... I kept getting a "wrong number of
arguments" error when using fgets without the buffer size, and fgets would not return any data.
After I added a buffer size of 1024 to the call, everything worked fine.