Programming/php2017. 1. 25. 18:14

An associative array that by default contains the contents of $_GET, $_POST and $_COOKIE.

[링크 : http://php.net/manual/en/reserved.variables.request.php]


간단하게 post와 get으로 받은거 구분없이 사용하는 변수

[링크 : http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=qna_function&wr_id=251801]

[링크 : http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=forum&wr_id=115415]



+

get / post / cookie에 대해서 적용되고

[링크 : http://php.net/manual/en/reserved.variables.request.php]


Sets the order of the EGPCS (Environment, Get, Post, Cookie, and Server) variable parsing. 

[링크 : http://php.net/manual/en/ini.core.php#ini.variables-order]


변수 우선순위에 의해서 Get이 우선권을 가질 듯?

request_order GP 인데..

이경우에는 Get와 Post만 파싱하는건가?


$ vi /etc/php5/apache2/php.ini

; This directive determines which super global data (G,P & C) should be

; registered into the super global array REQUEST. If so, it also determines

; the order in which that data is registered. The values for this directive

; are specified in the same manner as the variables_order directive,

; EXCEPT one. Leaving this value empty will cause PHP to use the value set

; in the variables_order directive. It does not mean it will leave the super

; globals array REQUEST empty.

; Default Value: None

; Development Value: "GP"

; Production Value: "GP"

; http://php.net/request-order

request_order = "GP" 


'Programming > php' 카테고리의 다른 글

php zend guard ?  (2) 2017.03.14
php -> exe (윈도우)  (0) 2017.03.14
php global  (0) 2017.01.23
html+php login form  (0) 2017.01.18
xdebug - php debug / profiler  (0) 2017.01.16
Posted by 구차니