From:             paul at i3 dot co dot uk
Operating system: Slackware
PHP version:      4CVS-2004-01-11 (stable)
PHP Bug Type:     GetImageSize related
Bug description:  getimagesize reports finds width and height for mp3 file and reports 
as a bmp

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 bug report at http://bugs.php.net/?id=26872&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26872&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26872&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26872&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26872&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26872&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26872&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26872&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26872&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26872&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26872&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26872&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26872&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26872&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26872&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26872&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26872&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26872&r=float

Reply via email to