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.
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
In the past few days, the old week in upgrading the "South China Leisure Kidney Recovery Registration Platform", in order to expand the business, in particular, allow other developers to the system to submit information about the kidney, so that the
In the past few days, the old week in upgrading the "South China Leisure Kidney Recovery Registration Platform", in order to expand the business, in particular, allow other developers to the system to submit information about the kidney, so that the
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
Recently encountered a very depressing question, the general situation is as follows:
There is a Java application at hand, which has an action set response header Content-type to text/plain;charset=**, resulting in a part of the client machine
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
application/x-www-form-urlencoded Multipart/form-data Text/plainWhy add a property to the form that uploads the file enctype the format type of the data response returned by the backgroundUpload a file in the form to add attributes Enctype=
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.