본문 바로가기

Programming

PHP 전역변수 공유 설정

php 페이지끼리 변수를 주고 받으려면 아래와 같이 설정을 해줘야 한다.
 
/etc/php5/apache2/php.ini 파일 중,
---
; 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.
register_globals = On (보안상 이유로 디폴트값은 Off입니다~)

'Programming' 카테고리의 다른 글

한글 NLP 연구 연황  (0) 2008.09.29
WinCVS  (0) 2008.09.04
Apache MIME Type 추가 방법  (0) 2008.07.24
Singleton supported thread-safe  (0) 2008.07.03
UML(Unified Modeling Language)  (0) 2008.04.08