note 57971 deleted from function.fread by jome

From: Date: Thu, 20 Oct 2005 15:27:53 +0000
Subject: note 57971 deleted from function.fread by jome
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-97299@lists.php.net to get a copy of this message
Note Submitter: Stuart Colville - muffinresearch.co.uk ---- I was working on a script that was uploading image files, resizing them and then using fread to write them into a database as a blob. For some reason the images were being truncated. I replaced the use of fread with file_get_contents as it is more efficient than fread and the truncation was prevented.

« previous php.notes (#97299) next »