note 92188 added to function.finfo-file

From: Date: Mon, 13 Jul 2009 18:12:59 +0000
Subject: note 92188 added to function.finfo-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-158244@lists.php.net to get a copy of this message
@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(). ---- Server IP: 82.177.164.100 Probable Submitter: 85.222.105.32 ---- Manual Page -- http://www.php.net/manual/en/function.finfo-file.php Edit -- https://master.php.net/note/edit/92188 Del: integrated -- https://master.php.net/note/delete/92188/integrated Del: useless -- https://master.php.net/note/delete/92188/useless Del: bad code -- https://master.php.net/note/delete/92188/bad+code Del: spam -- https://master.php.net/note/delete/92188/spam Del: non-english -- https://master.php.net/note/delete/92188/non-english Del: in docs -- https://master.php.net/note/delete/92188/in+docs Del: other reasons-- https://master.php.net/note/delete/92188 Reject -- https://master.php.net/note/reject/92188 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#158244) next »