switch ($_GET["action"] ?? "") case 'test': ini_set("open_basedir", "/var/www/html/$test:/var/www/html/test");
이렇게 설정되었을경우 두번째 /var/www/html/test는 어떻게 실행시키죠
질문의 의미가 잘 전달 되지 않는 것 같습니다.
ini_set("open_basedir", "/var/www/html/$test:/var/www/html/test");
위의 의미는, /var/www/html/$test 또는 /var/www/html/test 디렉토리의 하위에 있는 디렉토리 또는 파일만 php 가 제어할 수 있다는 의미입니다.
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
질문의 의미가 잘 전달 되지 않는 것 같습니다.
질문의 의미가 잘 전달 되지 않는 것 같습니다.
위의 의미는, /var/www/html/$test 또는 /var/www/html/test 디렉토리의 하위에 있는 디렉토리 또는 파일만 php 가 제어할 수 있다는 의미입니다.
댓글 달기