Re: Remote grabbed images are blank
| From: | Jason Wong | Date: | Tue, 12 Oct 2004 19:31:06 +0000 |
| Subject: | Re: Remote grabbed images are blank | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-199285@lists.php.net to get a copy of this message | ||
On Wednesday 13 October 2004 02:22, Mag wrote:
> I got a pretty good code snippet from Zend to grap a
> remote image and save it to disk, the problem is, when
> it saves to my disk i am unable to open the
> images...they are blank and the file matches the
> remote images filesize...
>
>
> Heres the code I got from Zend:
> ############ Start code ##############
> <?php
[snip]
The code looks fine (but it doesn't handle PNGs nor JPEGs)
Try accessing the saved pictures by using an absolute URL.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
System restarting, wait...
*/