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
 [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: Wed Apr 24 12:01:29 2024 UTC