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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: paul at i3 dot co dot uk
New email:
PHP Version: OS:

 

 [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: Thu Nov 21 16:01:21 2019 UTC