script needed: download external image sources onto my web

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
aatif
Forum Newbie
Posts: 1
Joined: Sun Nov 07, 2010 5:14 am

script needed: download external image sources onto my web

Post by aatif »

dear coders,
i've a code request. if anyone could suggest me such a php library or snippet which satisfies many if not all of the following needs:

1. an image fetcher, where i enter a url of an image from the external website for e.g., (http://website.com/cool.jpg)
2. i am then to choose a directory (from the list of directories i've created in the snipper source folder) for e.g., (/cool /funny /big /small)
3. the code would then download/upload that external source image to my webserver into the selected directory

i hope i haven't asked for much :) if there is any such library available across the web, i would be happy to use as long as it serves 1. and 3. of the options i desire.

help will be really appreciated.

thank you...
User avatar
DigitalMind
Forum Contributor
Posts: 152
Joined: Mon Sep 27, 2010 2:27 am
Location: Ukraine, Kharkov

Re: script needed: download external image sources onto my w

Post by DigitalMind »

use CURL
Post Reply