- Original Poster
- #1
PHP Gurus
Can anyone post the code to achieve the following?
A function which takes the URL of an image over http: and saves that image to disk. I think it can be done with the PHP graphics library but I need to look into it further.
For example:
doit(http://www.site.com/images/tsblogo_square.jpg) ;
function doit(URL)
{
// code to write the image at the URL to a folder on disk .
}
Thanks
DC
Can anyone post the code to achieve the following?
A function which takes the URL of an image over http: and saves that image to disk. I think it can be done with the PHP graphics library but I need to look into it further.
For example:
doit(http://www.site.com/images/tsblogo_square.jpg) ;
function doit(URL)
{
// code to write the image at the URL to a folder on disk .
}
Thanks
DC
