Request_order recommendation setting _php tips in php.ini

Source: Internet
Author: User

Just installed Dede today, installation completed by an error message (PHP 5.3 and above) please set ' request_order ' ini value to include C,g and P (recommended: ' CGP ') I n php.ini

In Dede, the solution is given to request_order this configuration option from the default

Request_order = "GP"

Change to

Request_order = "CGP"

Problem solving;

About Request_order This configuration option is a new addition to the 5.3.x version of PHP.

The insecurity about him can be seen from the following:

$_request The value of this super global variable is affected by Request_order in PHP.ini, in the latest php5.3.x series, the Request_order default is GP, which means that the default configuration $_request contains only $_get and $_ Post and not include $_cookie. Globals variables can be submitted by means of cookies.
Thus bypassing the global variable defenses in most open source programs. So to change the secondary option to Request_order = "CGP"

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.