pengu Posted June 24, 2010 Share Posted June 24, 2010 Hey Guys, How are custom Mime Types achieved? Had a quick search through the forums, and most of the posts relate to mail() questions. Did a google search and found a completely useless article that told me to edit a non-existent text box. Quick example, the file type I want is .WAgame, I got this far before I realised what I was doing didn't make sense. So I looked up mime types, knowing that this file would not exist. if ($_FILES["file"]["type"] != "file/WAgame") { naughty! } Help! Edit: Link to comment https://forums.phpfreaks.com/topic/205715-custom-mime-types-uploading-files/ Share on other sites More sharing options...
pengu Posted June 25, 2010 Author Share Posted June 25, 2010 *bump* Link to comment https://forums.phpfreaks.com/topic/205715-custom-mime-types-uploading-files/#findComment-1076965 Share on other sites More sharing options...
pengu Posted June 28, 2010 Author Share Posted June 28, 2010 *bump* *bump* again I know this is possible. Link to comment https://forums.phpfreaks.com/topic/205715-custom-mime-types-uploading-files/#findComment-1078025 Share on other sites More sharing options...
pengu Posted September 2, 2010 Author Share Posted September 2, 2010 Another bump. I've come back to this project and I need to achieve this. Link to comment https://forums.phpfreaks.com/topic/205715-custom-mime-types-uploading-files/#findComment-1106310 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.