note 19399 added to function.getimagesize
| From: | unal at writeme dot com | Date: | Tue, 26 Feb 2002 17:27:29 +0000 |
| Subject: | note 19399 added to function.getimagesize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27068@lists.php.net to get a copy of this message | ||
This function returns nothing when you rename BMP files as JPEG and try to run it. I know it's
stupid but a client of ours has done this by uploading a BMP picture as JPG into our server.
So you gotta check the image file in any case if it's a real jpg for using it in your webs...
--
http://www.php.net/manual/en/function.getimagesize.php
http://master.php.net/manage/user-notes.php?action=edit+19399
http://master.php.net/manage/user-notes.php?action=delete+19399
http://master.php.net/manage/user-notes.php?action=reject+19399