메인화면에 타 프로그램의 화면 include 정보
메인화면에 타 프로그램의 화면 include본문
그누의 메인화면에 AAA.php 파일을 include 시키는 방법을 문의합니다.
index.php 파일에서 아래와 같이해 보았더니 불러오질 못하내요.
좋은 방법이 없는지요?
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
include_once("./_head.php");
?>
<!-- 메인화면 최신글 시작 -->
<?
include_once("AAA.php");
?>
include_once("AAA.php");
?>
<!-- 메인화면 최신글 끝 -->
<?
include_once("./_tail.php");
?>
include_once("./_tail.php");
?>
댓글 전체
해당 경로에 즉 index.php가 있는 곳에 AAA.php도 같이 있는지 확인해 주시기 바랍니다.
하위 linker라는 폴더에 있고 include_once("./linker/AAA.php"); 라고 했지요...
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<!-- 메인화면 최신글 시작 -->
<?
include_once("./linker/AAA.php");
?>
<!-- 메인화면 최신글 끝 -->
<?
include_once("./_tail.php");
?>
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<!-- 메인화면 최신글 시작 -->
<?
include_once("./linker/AAA.php");
?>
<!-- 메인화면 최신글 끝 -->
<?
include_once("./_tail.php");
?>
include_once 를
include "../linker/AAA.php" 로 바꿔보세요.
include "../linker/AAA.php" 로 바꿔보세요.
에러가 다음과 같은데...
Warning: main() [function.main]: URL file-access is disabled in the server configuration in /home/health/html/index.php on line 12
Warning: main(http://www.healthinfo.co.kr/linker/index.php?) [function.main]: failed to open stream: no suitable wrapper could be found in /home/health/html/index.php on line 12
Warning: main() [function.main]: URL file-access is disabled in the server configuration in /home/health/html/index.php on line 12
Warning: main(http://www.healthinfo.co.kr/linker/index.php?) [function.main]: failed to open stream: no suitable wrapper could be found in /home/health/html/index.php on line 12
Warning: main() [function.include]: Failed opening 'http://www.healthinfo.co.kr/linker/index.php?' for inclusion (include_path='.:/usr/local/lib/php') in /home/health/html/index.php on line 12
그누보드의 index.php 파일내용 입니다.
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<!-- 메인화면 최신글 시작 -->
<table width="100%" cellpadding=0 cellspacing=0><tr><td valign=top>
<?
include("http://www.healthinfo.co.kr/linker/index.php?");
?>
</td></tr></table>
<!-- 메인화면 최신글 끝 -->
<?
include_once("./_tail.php");
?>
http://www.healthinfo.co.kr/linker/index.php 파일은 그누의 메인화면에 삽입하려 하는것인데...
좋은 방법이 없을까요?
Warning: main() [function.main]: URL file-access is disabled in the server configuration in /home/health/html/index.php on line 12
Warning: main(http://www.healthinfo.co.kr/linker/index.php?) [function.main]: failed to open stream: no suitable wrapper could be found in /home/health/html/index.php on line 12
Warning: main() [function.main]: URL file-access is disabled in the server configuration in /home/health/html/index.php on line 12
Warning: main(http://www.healthinfo.co.kr/linker/index.php?) [function.main]: failed to open stream: no suitable wrapper could be found in /home/health/html/index.php on line 12
Warning: main() [function.include]: Failed opening 'http://www.healthinfo.co.kr/linker/index.php?' for inclusion (include_path='.:/usr/local/lib/php') in /home/health/html/index.php on line 12
그누보드의 index.php 파일내용 입니다.
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<!-- 메인화면 최신글 시작 -->
<table width="100%" cellpadding=0 cellspacing=0><tr><td valign=top>
<?
include("http://www.healthinfo.co.kr/linker/index.php?");
?>
</td></tr></table>
<!-- 메인화면 최신글 끝 -->
<?
include_once("./_tail.php");
?>
http://www.healthinfo.co.kr/linker/index.php 파일은 그누의 메인화면에 삽입하려 하는것인데...
좋은 방법이 없을까요?