Bobafart
03-01-2008, 05:44 AM
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?