Use header in php to set content-type and content-type of common file types
Use header in php to set content-type and content-type of common file types
In PHP, you can use the header function to send header information and set the content-type
PHP header sets the common file type of Content-type,
In PHP, you can send header information through the header function, you can also set the file Content-type, the following collation of some common file types for the Content-type value.
Date 201
Header usage
The Header () function sends an original HTTP header [HTTP header] to the client.The header is the string sent by the server before the server passes HTML data to the browser with HTTP co-meaning.Separate HTML files with a blank line.
Php uses the header to set content-type and content-type of common file types. in PHP, you can use the header function to send header information, or set the content-type of the file, the following describes the content-type values of common file
Use the header in php to set the content-type and the content-type of common file types,
Use header in php to set content-type and content-type of common file types
In PHP, you can use the header function to send header information and set the
Set the content-type of common file types in php headers. This article describes how to set the content-type for common file types in php headers, for more information about how to set the content-type of common file types, see header in php.
This
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.