Here is my code that check and upload an image to my website.
Is
 Is this code really secure against uploading of malicious codes ?
Anything i
 Anything I have to add to this code to  make it more secure?,
I
 I have also blocked execution of PHP in images folder using php_flag engine off in .htaccess of images folder, I can also move images folder out of the public_html (root) folder.