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? 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 Link to comment https://forums.phpfreaks.com/topic/13664-upload-file-types-testing/#findComment-52995 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.