Home > Backend Development > PHP Tutorial > Recommended request_order in php.ini_PHP tutorial

Recommended request_order in php.ini_PHP tutorial

WBOY
Release: 2016-07-13 09:54:28
Original
1069 people have browsed it

Recommended request_order in php.ini

This article mainly introduces the recommended setting of request_order in php.ini. Friends who need it can refer to it

I just installed dede today. The installation was completed with an error message (PHP 5.3 and above) Please set 'request_order' ini value to include C,G and P (recommended: 'CGP') in php.ini

The solution is given in dede, change the request_order configuration option from the default

request_order = "GP"

Changed to

request_order = "CGP"

Problem solved;

Regarding the request_order configuration option, it is newly added in version 5.3.x of PHP.

About his insecurity can be seen from the following:

The value of the super global variable $_REQUEST is affected by request_order in php.ini. In the latest php5.3.x series, the default value of request_order is GP, which means that under the default configuration, $_REQUEST only contains $_GET and $_POST without $_COOKIE. GLOBALS variables can be submitted through COOKIE.

Thus bypassing the global variable defense in most open source programs. So change the secondary option to request_order = "CGP"

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/997703.htmlTechArticle Recommended request_order in php.ini This article mainly introduces the recommended setting of request_order in php.ini, which is required Friends can refer to the fact that dede was just installed today. The installation was completed with an error...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template