
Also, if the user again try to upload same image, it says file already exist.
So, my point is if the file does not meet the requirements, it shuld not be loaded even in the directory. And their should be a better error reporting to user, rather than this blank screen or showing some php technical error.

