|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15512 getimage size returns error
Submitted: 2002-02-11 18:15 UTC Modified: 2002-04-09 15:09 UTC
From: ctammel at mindspring dot com Assigned:
Status: Closed Package: GetImageSize related
PHP Version: 4.1.1 OS: solaris
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: ctammel at mindspring dot com
New email:
PHP Version: OS:


 [2002-02-11 18:15 UTC] ctammel at mindspring dot com
The image at:

is returned as:

type: 6 (bmp type)
width="-738131968" height="1006632960"

when it should be 468x60 image.

Our client uploaded it as a gif, which also didn't work:


Craig Tammel


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-09 15:09 UTC]
This bug has already been fixed in the latest released version of
PHP, which you can download at

this appears to work fine with 4.1.2 on linux. (but it could be an endian-related issue. please reopen if it still does not work in 4.1.2 on solaris. and double-checking in a 4.2.0 release candidate from would be handy, too.)
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 15 21:01:28 2024 UTC