note 88539 deleted from function.readfile by thiago
| From: | thiago@php.net | Date: | Wed, 28 Jan 2009 16:05:04 +0000 |
| Subject: | note 88539 deleted from function.readfile by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-149890@lists.php.net to get a copy of this message | ||
Note Submitter: z_o_o_m
----
No, the only mistake is in preg_match ...
if you decrease $size by 1, the last bit in file will be missing!
(I tested it)