MIME (Multipurpose Internet Mail Extensions) multipurpose Internet mail extension type.
is the type of way that a file with a certain extension is opened by an application. When the extension When the named file is accessed, the browser will automatically use the specified application to open it.
is mostly used to specify some client-defined file names and some media file opening methods. (Recommended learning: web front-end video tutorial)
It is an Internet standard that extends the email standard to enable it to support:
Non-ASCII character text; non-text format attachments (binary, sound, image, etc.);
Message body composed of multiple parts;
Contains non-ASCII characters Header information.
This standard is defined in RFC 2045, RFC 2046, RFC 2047, RFC 2048, RFC 2049 and other RFCs.
MIME improves RFC 2822, which was transformed from RFC 822. These old standards stipulate that email standards do not allow the use of characters outside the 7-bit ASCII character set in email messages.
Because of this, some non-English character messages and non-text messages such as binary files, images, sounds, etc. cannot originally be transmitted in emails (MIME can).
MIME specifies symbolic methods for representing various data types. In addition, the MIME framework is also used in the HTTP protocol used in the World Wide Web, and the standard is extended to Internet media types.
In the earliest HTTP protocol, there was no additional data type information. All transmitted data were interpreted by the client program as Hypertext Markup Language HTML documents. In order to support multimedia data types, the HTTP protocol used MIME data type information appended to the front of the document to identify the data type.
MIME stands for Multipurpose Internet Mail Extensions. It was originally designed to attach multimedia data when sending e-mails so that the mail client can process it according to its type. However, when it is supported by the HTTP protocol, its significance becomes even more significant. It makes HTTP transfer not only ordinary text, but also rich and colorful.
Each MIME type consists of two parts. The first part is the big category of data, such as sound audio, image image, etc., and the second part defines the specific type.
Common MIME types (universal):
Hypertext Markup Language text.html text/html
xml document.xml text/xml
XHTML document.xhtml application/xhtml xml
Normal text.txt text/plain
RTF text.rtf application/rtf
PDF document .pdf application/pdf
The above is the detailed content of mime means. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function
