Recommended setting of request_order in php. ini, requestorder_PHP tutorial

Source: Internet
Author: User
Requestorder is recommended for request_order in php. ini. The request_order recommendation settings in php. ini are as follows: requestorder has just installed dede today. after the installation is complete, an error message (php5.3andabve) Pleasesetrequest_orderinivaluetoinclude request_order in php. ini is recommended.

Dede has just been installed today. after the installation is complete, an error message (PHP 5.3 and above) Please set 'request _ order' ini value to include C, G and P (recommended: 'cgp ') is returned ') in php. ini

Dede provides a solution to remove the request_order configuration option from the default

Request_order = "GP"

Change

Request_order = "CGP"

Problem solving;

The configuration option request_order is newly added in php 5.3.x.

His insecurity can be seen from the following:

$ _ REQUEST the value of this super global variable is subject to php. the influence of request_order in ini. in the latest php5.3.x series, the default value of request_order is GP, by default, $ _ REQUEST only includes $ _ GET and $ _ POST, but not $ _ COOKIE. You can use cookies to submit GLOBALS variables.
This bypasses global variable protection in most open-source programs. Therefore, you must change the option to request_order = "CGP"

Parse has just installed dede today. after the installation is complete, an error message (PHP 5.3 and above) Please set 'request _ order' ini value to include...

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.