note 92188 deleted from function.finfo-file by danbrown
| From: | danbrown@php.net | Date: | Mon, 13 Jul 2009 18:14:26 +0000 |
| Subject: | note 92188 deleted from function.finfo-file by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-158245@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
@scott at thebrain dot ca - for a good sake! You are reading whole damn file just to check couple of
bytes on its begining?! instead of file_get_contents() you shall do ordinary fopen(), fread() just 3
bytes fclose().