반짝세일

  •  30일 환불 보장
  •  무료 도메인
  •  연중무휴 고객지원
헤택 보기

최대

90

%

OFF

반짝세일: 웹호스팅시작 요금 895원 /월!
시작하기
×

지식 창고

호스팅어의 호스팅 서비스와 관련된 정보글, 문제 해결 가이드,
기타 전문 정보글을 검색하세요.

How to enable register_globals?

Modified on:
php register_globals register_globals

PHP register_globals is set to OFF by default on our servers for security reasons. All modern scripts do not use register_globals anymore because of the security risks and we also highly recommend not to use it on your website. It's also only available on older PHP versions (5.4 and up no longer support register_globals at all)

However, it is possible to enable register_globals by using your .htaccess and php_flag. All you need to do is add this line to your .htacces file:

php_flag register_globals on