Programming/php2014. 10. 7. 11:05
register globals 라고
EGPCS 변수들을 글로벌 변수로 바꿔주는 옵션이 있으나

5.3.22
; Whether or not to register the EGPCS variables as global variables.  You may
; want to turn this off if you don't want to clutter your scripts' global scope
; with user data.
; You should do your best to write your scripts so that they do not require
; register_globals to be on;  Using form variables as globals can easily lead
; to possible security problems, if the code is not very well thought of.
; http://php.net/register-globals
register_globals = On 

5.4대로 가면서 deprecated 되어 이를 회피하기 위한 방법으로 각각 페이지 마다 
옵션을 주어 사용하는 방법이 있다고 한다. 
@extract($_GET);
@extract($_POST);
@extract($_SERVER); 

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

lighttpd + php-fpm  (0) 2014.10.10
php 5.3.22 버전 크로스컴파일시 주의사항  (0) 2014.10.08
php EGPCS  (0) 2014.10.07
php-fpm관련  (0) 2014.09.25
xcache apc  (0) 2014.09.23
Posted by 구차니