If the filename is something like image..gif , when that file is uploaded, its showing an exception saying - Absolute path can't contains '..' . But the file is uploaded to the folder. I want the file not to be uploaded, and give the message 'Image upload unsuccessful, please check the file name and format.'.
Can anyone help me on this. Thanks in advance.