문서의 선택한 두 판 사이의 차이를 보여줍니다.
다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
develop:php [2007/02/06 14:39] mattabu 새로 만듬 |
develop:php [2015/06/08 09:10] starlits [웹프레임워크] |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== PHP ====== | ====== PHP ====== | ||
+ | |||
+ | ===== Install ===== | ||
+ | - debian linux 에 mysql 5.5 설치하기 | ||
===== Session ===== | ===== Session ===== | ||
- | ==== register_globals = off 인 경우 경고메시지 처리 | + | - [[develop: |
- | 세션을 사용하는 경우, 아래와 같은 Warning 이 나올 수 있다. 이것은 php.ini 에서 register_globals = off 로 설정된 경우에 나타난다. | + | |
- | < | + | |
- | Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. | + | |
- | Please be advised that the session extension does not consider global variables as a source of data, | + | |
- | unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or | + | |
- | session.bug_compat_warn to off, respectively. in Unknown on line 0 | + | |
- | </ | + | |
- | 일반적으로 register_globals = on 으로 설정하는 것은 보안상 추천하지 않는다. 그렇다면 register_globals = off 로 설정된 상태에서 | + | |
- | 위와 같은 경고가 나오지 않게 하려면 다음을 참고하여, | + | |
- | < | + | |
- | register_globals boolean | + | |
- | EGPCS(환경, | + | |
- | URL http:// | + | |
- | 스크립트의 전역 위치에 유저 데이터로 채워지는것을 원하지 않는다면, | + | |
- | 자동전역: | + | |
- | 보안 챕터의 register_globals 사용에 대한 관련 정보를 읽어보십시오. | + | |
- | register_globals는 실행시에 설정(ini_set())할 수 없는 점에 주의하십시오. 그러나, 호스트가 .htaccess를 허용한다면, | + | ===== 웹프레임워크 ===== |
- | 예제 .htaccess 엔트리: php_flag register_globals on | + | - CodeIgniter |
- | </ | + | |
- | 필자의 경우, session_register(" | + | - Symfony |
- | ===== Security | + | ===== Tip ===== |
+ | - [[develop: | ||
+ | - [[develop: | ||
+ | - [[develop: | ||
+ | - [[application: | ||
===== Oracle 연동 ===== | ===== Oracle 연동 ===== | ||
- | | + | |
- | | + | - [[ http://www.oracle.com/technetwork/articles/technote-php-instant-084410.html | Installing PHP and the Oracle Instant Client |
+ | |