Bug #1545: ImageCreateFromGIF does not support URLs
| From: | gudmundsdottir at bigfoot dot com | Date: | Tue, 15 Jun 1999 19:38:15 +0000 |
| Subject: | Bug #1545: ImageCreateFromGIF does not support URLs | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6995@lists.php.net to get a copy of this message | ||
From: gudmundsdottir@bigfoot.com
Operating system: Linux 2.2.9 / Mandrake 6.0
PHP version: 3.0.9
PHP Bug Type: Documentation problem
Bug description: ImageCreateFromGIF does not support URLs
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.