Im trying to check if a user actually uploaded a picture or some other junk like batch or who knows.
I read on the forum that you must check the extension however the user can easily change .exe to .png.
How would i go about to determine what the filetype is and what settings should i apply to the folder in which im uploading the file to check if its really a png before transfering it to my normalfolder where i keep users pictures.