Setting a default image if theres no image selected?
See all posts See thread Reply
Re: Setting a default image if theres no image selected? new!
# Reply
by colin, 16 years, 1 month ago
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.