1, Mime_content_type () function to judge get file type
Mime_content_type returns the MIME type of the specified file.
Usage:
The code is as follows
Copy Code
Echomime_content_type (' Php.gif '). " n ";Echomime_content_
Click start → programs → administrative tools → IIS Manager. Expand Local computer, Web site, right-click on your site, select Properties, click the HTTP headers tab → Click the MIME type button, click the New button, and then type in the "extension"
PS: The list of books is arranged in the order of publication time.Learn how Python is not clearly recommended to join the Exchange groupNo.: 548377875The group has like-minded small partners, mutual help,There are good learning tutorials in the
// Specify a stream that cannot be read by the client and must be downloaded.Response. contenttype = "application/X-msdownload ";
Mime
The MIME type is the type used by an application to open a file with a certain extension. When a file with the
Get Mime:httpcontext.current.request.files[filekey]. ContentLengthMIME type Is the type of file in which an extension is set to open with an application, and when the extension file is accessed, the browser automatically opens with the specified
Mine types for common text
mime-types (Mime type)
dateiendung (filename extension)
Bedeutung
Application/msexcel
*.xls *.xla
Microsoft Excel Dateien
Application/mshelp
1. mime type descriptionMulti-purpose Internet Mail Extension (MIME, Multipurpose Internet Mail Extensions) is an Internet standard that extends the email standard, it supports mail messages in multiple formats, such as non-ASCII characters and
In the various file manager under Android, we choose a file, click on share can see pop up some apps for us to choose, this is the Android system sharing function, we do the app can also appear in this list.First step: Configure in Manifest.xml, add
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.