note 18695 deleted from function.fgets by sniper
| From: | sniper@php.net | Date: | Sat, 03 Jan 2004 02:46:59 +0000 |
| Subject: | note 18695 deleted from function.fgets by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-62837@lists.php.net to get a copy of this message | ||
Note Submitter: gidREMOVETHIS@REMOVETHISTOOgifpaste.net
----
Note that if you want to read one character at a time from a file, or a socket, or whatever, you
should be using the binary safe fread() like so: fread($fp, 1) function, and NOT using this
function as: fgets($fp, 2) as stated above.