#26872 [Opn->Fbk]: getimagesize reports finds width and height for mp3 file and reports as a bmp

From: Date: Sun, 11 Jan 2004 16:07:26 +0000
Subject: #26872 [Opn->Fbk]: getimagesize reports finds width and height for mp3 file and reports as a bmp
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-53130@lists.php.net to get a copy of this message
ID: 26872 Updated by: sniper@php.net Reported By: paul at i3 dot co dot uk -Status: Open +Status: Feedback Bug Type: GetImageSize related Operating System: Slackware PHP Version: 4CVS-2004-01-11 (stable) New Comment: Provide an URL to the MP3 in question. Previous Comments: ------------------------------------------------------------------------ [2004-01-11 07:43:28] paul at i3 dot co dot uk Description: ------------ getimagesize is reporting an mp3 file I tested as having a width and height of 4 and 3 and returning the mime types as a wbmp. array(5) { [0]=> int(4) [1]=> int(23) [2]=> int(15) [3]=> string(21) "width="4" height="23"" ["mime"]=> string(18) "image/vnd.wap.wbmp" } Reproduce code: --------------- Can supply mp3 on request ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26872&edit=1

« previous php.bugs (#53130) next »