php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4901 CreateImageFromGIF and URLs
Submitted: 2000-06-08 16:10 UTC Modified: 2000-06-24 10:33 UTC
From: iced dot earth at free dot fr Assigned:
Status: Closed Package: Other
PHP Version: 4.0.0 Release OS: Unix
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: iced dot earth at free dot fr
New email:
PHP Version: OS:

 

 [2000-06-08 16:10 UTC] iced dot earth at free dot fr
Problem with ImageCreateFromGIF with URLs

When I try to load a GIF image from a file in the current directory
 $img = ImageCreateFromGIF("image.gif");
everything goes perfectly well but when I try to do the same thing
with the complete URL of the image
 $img = ImageCreateFromGIF("http://path/to/image.gif");
I get the following error message:

 Warning: ImageCreateFromGif: Unable to open http://path/to/image.gif for reading in ...

When I use my favourite browser (Netscape not to name it ;-) and type this URL in the
location http://path/to/image.gif, the image is loading...

Is there a problem with the URL parser in this function ?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-24 10:33 UTC] stas at cvs dot php dot net
There's not URL parser in this function. If you want it, submit feature request, though I really seriously doubt you'll ever get it.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 20:01:32 2025 UTC