php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26872 getimagesize reports finds width and height for mp3 file and reports as a bmp
Submitted: 2004-01-11 07:43 UTC Modified: 2004-01-17 00:51 UTC
From: paul at i3 dot co dot uk Assigned:
Status: No Feedback Package: GetImageSize related
PHP Version: 4CVS-2004-01-11 (stable) OS: Slackware
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-01-11 07:43 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-11 11:07 UTC] sniper@php.net
Provide an URL to the MP3 in question.

 [2004-01-17 00:51 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Nov 13 15:01:28 2019 UTC