|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-06-21 18:02 UTC] jim at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 20 21:00:02 2025 UTC |
Documentation currently states that ImageCreateFromGIF will load an image from either a file name or a URL. a) there is no current way to differentiate between a relative URL ("/images/blah.gif") and file names ("/home/httpd/images/blah.gif"). b) the function does not allow remote images to be loaded. ("http://www.otherserver.com/otherblah.gif"). c) the function does not allow images to be loaded from virtual directories in Apache. For instance, if the following is in httpd.conf: <PRE> ProxyPass /mirror/ http://www.otherserver.com/ </PRE> and viewing http://www.thisserver.com/mirror/otherblah.gif works, using <PRE> ImageCreateFromGIF("/mirror/otherblah.gif"); </PRE> and <PRE> ImageCreateFromGIF("http://www.thisserver.com/mirror/otherblah.gif"); </PRE> both do not work. Either the documentation needs changed, or (preferably) the function needs added functionality.