include_once 함수 적용시 에러
Warning
: main(): URL file-access is disabled in the server configuration in /home3/도메인/www/gb/gblog.index.php on line 89
Warning
: main(): Failed opening 'http://www.mmpia.zc.bz/gb/blog/tags.php' for inclusion (include_path='.:/usr/local/lib/php') in /home3/도메인/www/gb/gblog.index.php on line 89
이 에러는 어떤 경우에 뜨나요??
네이버 검색을 해보니 게정자체에서 includef를 사용못하게 하는 경우라 하는데
그렇다면 인쿠르드 함수를 쓸 수 없는건가요??그렇다면 방법은 없나요??
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 4개
include("./file.php"); (O)
include("http://domain.com/file.php"); (X)
아렇게해도 마찬가지네여 ㅜㅜ
보통 호스팅 업체에서는 허용하지 않죠.
url 쓴 부분을 모두 상대경로로 정확히 지정하면 될거 같은데요.
./gb/file.php