Re: getimagesize() with full url??
| From: | Sterling Hughes | Date: | Thu, 31 Aug 2000 22:13:30 +0000 |
| Subject: | Re: getimagesize() with full url?? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-31516@lists.php.net to get a copy of this message | ||
GetImageSize doesn't work with URL's, however, it does work with local paths.
--
Sterling Hughes
sterling@php.net
>
> Hi,
>
> Maybe I am doing something wrong, but when I try to use the
> getimagesize() function with a full url, like
> http://www.myserver.com/images/goddess.jpg, I get a
> "cannot open
> file..." error. When I try the same with a relative path, like
> ../images/goddess.jpg it works fine!
>
> Both times, same image, same server, same everything!
>
> Any ideas?
> --
>
> Stefan - Zipkid - Goethals
> YourNet
> http://www.yournet.be
> mailto:stefan@yournet.be
>
>
> This is the TRON era and we are striving to reach the MATRIX era.
> (Jeffrey Zeldman on http://slashdot.org)
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>