Download image in PHP
| From: | Russell Jones | Date: | Wed, 05 Apr 2006 12:49:21 +0000 |
| Subject: | Download image in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-233247@lists.php.net to get a copy of this message | ||
I have an image library on one site that I want to be able to access from
another, but I actually want the image downloaded and cached to the new site
(so that it doesnt keep taxing the image server).
I allow the file() command to pull from other sites, can I do this with just
the file('http://www.site.com/image.jpg"); - or how would
i do this?
Russ