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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 15:01:31 2024 UTC