Reprint Address: http://www.cuplayer.com/player/Help/2011/0625/83.htmlMaybe you're wondering why I uploaded an flv or MP4 file to the server and entered the correct address through the HTTP protocol to access the always "can't find this page" 404
Maybe you're wondering why I uploaded an flv or MP4 file to the server and entered the correct address through the HTTP protocol to access the always "can't find this page" 404 error? This indicates that the MP4 format file is not recognized by the
This article is still transferred from the old blog of juyou. The MIME type commonly used in the article is also reposted because the old blog is no longer updated and readers need this article.
The MIME type is the type used by an application to
Php accurately obtains the object MIME type
This example describes how php can accurately obtain the object MIME type. Share it with you for your reference. The specific implementation method is as follows:
?
1 2 3 4 5 6 7 8 9 10 11 12
Maybe you may wonder why the 404 error "this page cannot be found" always occurs when I upload FLV or MP4 files to the server and enter the correct address to access the file through HTTP? This indicates that MP4 files cannot be identified by the
Mime_content_type: the MIME type of the specified object is returned,Usage: The code is as follows:Copy code Echo mime_content_type ('php.gif '). "n ";Echo mime_content_type ('test. Php '); Output:Image/gifText/plainHowever, this function will
Background introduction:MIME: Full name Multipurpose Internet Mail Extensions, multi-function Internet Message expansion service. It is a Multipurpose Internet Mail Expansion protocol that was first applied to the e-mail system in 1992, but was
The role of Response.setcontenttype (MIME) is to enable the client browser to differentiate between different kinds of data and to process the corresponding data according to different programs embedded in different MIME call browsers.
For example,
Response. setContentType (MIME) is used to enable the client browser to differentiate different types of data and call different program embedding modules in the browser to process the corresponding data according to different MIME types.
For
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.