HTML form upload for ODT files / MIME type for *.odt -
i'm looking html form upload odt-files. need know parameter accept . <form method="post" action="upload.php" > <input type="file" name="file_upload" accept="" /> <button type="submit">upload</button> </form> with search in stackoverflow found have define correct mime type. for odt mime type application/vnd.oasis.opendocument.text the html code has that: <form method="post" enctype="multipart/form-data" action="upload.php" > <input type="file" name="file_upload" accept="application/vnd.oasis.opendocument.text" /> <button type="submit">upload</button> </form>