php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #3055 ImageCreateFromGif does not support any type of $filename except systemfiles.
Submitted: 1999-12-28 06:03 UTC Modified: 1999-12-28 06:07 UTC
From: eric at chatprogram dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 3.0.12 OS: RedHat Linux 6.0
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: eric at chatprogram dot com
New email:
PHP Version: OS:

 

 [1999-12-28 06:03 UTC] eric at chatprogram dot com
The function 
int ImageCreateFromGif ($filename)
can be passed any type of PHP filename (URL, filesystem, ftp, ...).  however, only local filesystem files can be loaded.

--with-mysql --enable-track-vars

php3.ini is irrelevent

i've tried this with 3.0.9, 3.0.12 and 4.0b3 and all versions suffer from the same problem.  Try
$image = ImageCreateFromGif ("http://www.php.net/gifs/logo.gif");
and you'll get the warning.

Please email me if you can tell me how to fix the bug and recompile, as I need this function for a project i'm working on.  thank!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-12-28 06:07 UTC] thies at cvs dot php dot net
this is a limitation of the GD-Library - to change it we'd have to replace their file-io layer against the one used in PHP.

volonteers?


moving to feature request
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Jun 18 00:00:02 2026 UTC