class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
You cannot upload a file from a website directly. However, you can write a few lines of code to retrieve the picture from the website, and then process it with the class (look in the doc for how to process local files)
As for overwriting existing files, from version 0.27, simply set file_overwrite to true (If you use an older version, you also have to set file_auto_rename to false).Reply
As for overwriting existing files, from version 0.27, simply set file_overwrite to true (If you use an older version, you also have to set file_auto_rename to false).