glenelkins Posted July 4, 2006 Share Posted July 4, 2006 HiHow would i test an uploaded file (Eg if($swfFile['type'] == "image/gif") for a flash ".SWF" format? Quote Link to comment https://forums.phpfreaks.com/topic/13664-upload-file-types-testing/ Share on other sites More sharing options...
micah1701 Posted July 4, 2006 Share Posted July 4, 2006 the MIME type for .swf is application/x-shockwave-flash[code]if($swfFile['type'] == "application/x-shockwave-flash")[/code]check out:http://www.webmaster-toolkit.com/mime-types.shtmlfor a list of all MIME types Quote Link to comment https://forums.phpfreaks.com/topic/13664-upload-file-types-testing/#findComment-52995 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.