Forms Enctype and PHP processing

Source: Internet
Author: User

Application/x-www-form-urlencoded encode all characters before sending (default)

Multipart/form-data characters are not encoded. You must use this value when you use a form that contains a file upload control.

The text/plain space is converted to the "+" plus sign, but does not encode special characters.

1, do not fill enctype, the default is Application/x-www-form-urlencoded$_post//have data $http_raw_post_data//have data, multiple fields have & connector Google console display in form data//2, Multipart/form-data$_post//have data $http_raw_post_data//No data//3, Text/plain$_post//No data $ Http_raw_post_data//Data, no & connector between multiple fields The Google console is displayed in the request payload


Forms Enctype and PHP processing

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.