Can anyone help how to avoid uploading executable files with .gif or .jpg extensions , with file uplad script ? Or can executable files with .jpg ( image) extensions can run when i will try to show them with <img> tag ? Thanks
Are you trying to upload an executable script like say .php file and then rename it as .jpg on the server and try to run, when you access your .jpg file? this wont be happening usually, But this can be achieved by adding a Handler between program and extension (in case of linux server)