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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 00:01:30 2024 UTC