그누보드와 다른 폴더있는 php 연동시키고 싶어요. > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

그누보드와 다른 폴더있는 php 연동시키고 싶어요. 정보

그누보드와 다른 폴더있는 php 연동시키고 싶어요.

본문

그누보드와 다른 폴더있는 php 연동시키고 싶어요.

include 연동



/public_html/그누보드/
-----------/호출시키고싶은 솔루션php/

<? include_once("/home1/tumento/public_html/그누보드/index.php"); ?>

하고싶은 부분

1. 그누보드 중심사용하며 특정 솔루션 부분만
<? include_once("/home1/tumento/public_html/그누보드/index.php"); ?>
호출시키는것

haed : 그누보드
index : 그누보드+다른 폴더있는 php
tail : 그누보드

루트가 다른 부분 php 내용을 호출시키기

2. 회원연동시키는 부분

댓글 전체

1. hub/_common.php 파일 작성

<?
$g4_path = "../그누보드";
include_once $g4_path . "/common.php";
?>

2. hub/다른파일.php 작성

<?
include_once "_common.php";
include_once $g4['path']."/head.php";
?>
이곳에 내용을 작성하면 그누보드의 head, tail 안에 내용이 작성됩니다.
<?
include_once $g4['path']."/head.php";
?>
알려주신 방법으로 진행시
Fatal error: Cannot redeclare cut_str() in /home1/------/public_html/그누보드/lib/common.lib.php on line 1004
이렇게 나옵니다.

해당 hub에서 실행시


또 다르게 그누보드에서 진행시
Warning: include_once(won_path/) [function.include-once]: failed to open stream: No such file or directory in /home1~~~~~



Warning: include_once() [function.include]: Failed opening 'won_path/' for inclusion (include_path='.:/usr/lib/php/pear') in /home1~~~~~

전 왜 안될까요.ㅠㅠ
전체 66,558 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT