how to copy an image URL from a form to your own server??
Posted: Fri Feb 29, 2008 11:46 pm
I am trying to copy an image that the user inputs into a form to a local copy on my server.. and for security reasons rename the file
so basically, user inputs a URL to the image (http://www.foo.com/image.gif)
user hits submit
script copies http://www.foo.com/image.gif and renames it to a random md5 name
how would I do this using PHP?
so basically, user inputs a URL to the image (http://www.foo.com/image.gif)
user hits submit
script copies http://www.foo.com/image.gif and renames it to a random md5 name
how would I do this using PHP?