답변 2개 / 댓글 2개
채택된 답변
+20 포인트
customer1.php 파일이
bbs 폴더 안에 있는 파일은 아닌 거군요
index.php 에서 include 된다면
아마 최상위 config.php파일과 같은 위치일것으로 보이는데요
이처럼 customer1.php 파일이 최상위에 있다면
<?php include_once(G5_PATH."/customer1.php"); ?>
이렇게~
2개의 그누보드가 깔려있다고 하셨는데
계정이 다르다면 소유권문제로 include 할 수 없을 듯 싶고요
계정이 같고 customer1.php 파일을 한개만 만드셨다면
customer1.php 파일이 없는 쪽은 직접 경로를 찾아야겠네요
공통파일이라면
/home/user/public_html/customer1.php
/home/user/public_html/그누보드1
/home/user/public_html/그누보드2
이런 식으로 잡고
<?php include_once(G5_PATH."/../customer1.php"); ?>
해당 그누보드의 G5_PATH를 기준으로 해서 찾으시고요
답변을 작성하려면 로그인이 필요합니다.
<?php include_once(G5_PATH."/customer1.php"); ?>
감사합니다 ㅠㅠ
이런식으로 소스를 넣을 수 있군요
PHP를 잘몰라서 해맸네요
도움주셔서 너무너무 감사합니다.!!!!!