Jump to content

Archived

This topic is now archived and is closed to further replies.

saurabhmdh

Identitify the right MIME TYPE

Recommended Posts


How we identitify the right Mime type . . Suppose User change the file extenstion and upload the file then how we identitify the right extenstion

  User.exe (before uploading)  -- -- User.jpg (Changing the Name ) ----> Upload in server  ???? How we Identitify the Right file type ???

Share this post


Link to post
Share on other sites
Use $_FILE['upload_Field_Name_HERE'][type'] i believe in order to find out out what file type the uploaded file is.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.