note 13233 modified in function.read.php by sniper
| From: | sniper@php.net | Date: | Sat, 16 Jun 2001 14:01:46 +0000 |
| Subject: | note 13233 modified in function.read.php by sniper | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14344@lists.php.net to get a copy of this message | ||
There is a 4th (documented in CVS) parameter for read(),int type, which takes these three constants
as value:
PHP_SYSTEM_READ - use the system read()
PHP_BINARY_READ - binary safe read() (same as PHP_READ_SYSTEM)
PHP_NORMAL_READ - Default. Reading stops at \n or \r.
http://www.php.net/manual/function.read.php.php