include된 파일목록 출력하기 정보
PHP include된 파일목록 출력하기본문
<?
if ($_SERVER['REMOTE_ADDR']=="내피시IP") {
$included_files = get_included_files();
echo "<b>현재페이지 인클루드된 파일리스트:</b><br>";
foreach ($included_files as $filename) {
echo "$filename<br>";
}
}
?>
if ($_SERVER['REMOTE_ADDR']=="내피시IP") {
$included_files = get_included_files();
echo "<b>현재페이지 인클루드된 파일리스트:</b><br>";
foreach ($included_files as $filename) {
echo "$filename<br>";
}
}
?>
추천
1
1
댓글 3개
좋은 자료네요 ㅎㅎ
ㅎㅎ
아 get_include_files라는 함수가 있었군요
답답했었는데
답답했었는데