Read about what enctype multipart form data in php, The latest news, videos, and discussion topics about what enctype multipart form data in php from alibabacloud.com
Original translated from: http://yefeng.iteye.com/blog/315847
Description: enctype = "multipart/form-Data" Description:
Rfc1867 protocol overview, JSP application example, and client-sent content construction
1. Overview In the original HTTP
About Form enctype= "Multipart/form-data"
Recently there is a volunteer, put forward let me use PHP to do web development, have a look at PHP related syntax, it seems not too difficult, in the Win7 IIS installed use, file read and write no problem,
Description: enctype = "multipart/form-Data" Description:
Rfc1867 protocol overview, JSP application example, and client-sent content construction
1,Overview In the original HTTP protocol, there was no file upload function.
Description: enctype = "multipart/form-Data" Description:
Rfc1867 protocol overview, JSP application example, and client-sent content construction
1,Overview In the original HTTP protocol, there was no file upload function.
Description: ENCTYPE = "multipart/form-data" Description:
The rfc1867 protocol overview is uploaded over http, And the content structure sent by the client is constructed.
Overview
In the original http protocol, there was no file upload function.
Function of the enctype attribute of form labels, formenctype
Enctype is the encoding type used by the browser when data is sent back to the server. The encoding types include:
1. application/x-www-form-urlencoded
This is the default encoding type
In the syntax of a form element, enctype indicates that the format of the submitted data uses the Enctype property to specify the type of encoding used by the browser when the data is sent back to the server.
Below is the description:
application/
The differences between applicationx-www-form-urlencoded and multipartform-data are analyzed. In the Form element syntax, EncType indicates the encoding type used by the browser when the data is sent back to the server using the Enctype attribute.
PHP supports HTTP request classes of GET, POST, Multipart/form-data, and multipartform-data.
The example in this article describes the HTTP request class for PHP to support GET, POST, Multipart/form-data and its applications. The details are as
For a php://input introduction, the PHP Official Handbook document has a very clear overview of it.
"Php://input allows to read raw POST data. It is a less memory intensive alternative to $HTTP _raw_post_data and does no need any special php.ini.
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.