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.
Hi, if the user doesnt select a image then it wont upload... When you show the image on the screen you check if it exists (file_exists in php) if it doesnt exist then show a default image...
What you want to do has to be done outside the class. You can check what is in $_FILES, and act upon it accordingly. It there is an image, then you process it with the class; if there is no image, then you use the replacement image.Reply
Thanks a lot for reading.
When you show the image on the screen you check if it exists (file_exists in php)
if it doesnt exist then show a default image...
Good Luck