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
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: 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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 15:01:30 2024 UTC