Ok, I did this in the past before, but I cant remember how. I know its something pretty simple but it just isnt coming to me at the moment.
The question is, lets say there is a picture at http://www.somesite.com/somepic.jpg
in php, how can I get the script to download that picture and place it in somedirectory?
You should be able to use fopen to open the url of the image, fopen the destination file (i.e. the same filename in the directory you want it placed in), and then use fread and fwrite to read the data in from the file and write it out to the new file respectively.