saurabhmdh Posted September 25, 2006 Share Posted September 25, 2006 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 ??? Quote Link to comment https://forums.phpfreaks.com/topic/21936-identitify-the-right-mime-type/ Share on other sites More sharing options...
wildteen88 Posted September 25, 2006 Share Posted September 25, 2006 Use $_FILE['upload_Field_Name_HERE'][type'] i believe in order to find out out what file type the uploaded file is. Quote Link to comment https://forums.phpfreaks.com/topic/21936-identitify-the-right-mime-type/#findComment-98080 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.