note 63116 added to function.imagecreatefromjpeg

From: Date: Mon, 13 Mar 2006 21:26:21 +0000
Subject: note 63116 added to function.imagecreatefromjpeg
Groups: php.notes 
Request: Send a blank email to php-notes+get-105748@lists.php.net to get a copy of this message
Matt reported that PHP crashs using imagecreatefromjpeg() - that's true and it took me a lot of time to find the error - but not only the Canon PowerShot S70, also the Canon PowerShot A400 lets PHP (5.1.2) crash, without any chance to catch it! So I exclude all Canon PowerShot images with the following check: function check_canonpowershot($filename) { if (strpos(file_get_contents($filename), 'Canon PowerShot') !== false) { return true; } return false; } ---- Server IP: 217.13.201.10 Probable Submitter: 82.83.62.103 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.imagecreatefromjpeg.php Edit -- http://master.php.net/note/edit/63116 Del: integrated -- http://master.php.net/note/delete/63116/integrated Del: useless -- http://master.php.net/note/delete/63116/useless Del: bad code -- http://master.php.net/note/delete/63116/bad+code Del: spam -- http://master.php.net/note/delete/63116/spam Del: non-english -- http://master.php.net/note/delete/63116/non-english Del: in docs -- http://master.php.net/note/delete/63116/in+docs Del: other reasons-- http://master.php.net/note/delete/63116 Reject -- http://master.php.net/note/reject/63116 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#105748) next »