G

외부로그인좀 도와주세요

현재 제 홈페이지 계정은
[Root] - test.html
             [gnuboard4]
이렇게 되어 있는데

루트경로에 일단 "_common.php" 파일을 복사해서

<?
$g4_path = "./gnuboard4"; // common.php 의 상대 경로
include_once("$g4_path/common.php");
?>
이렇게 적고

test.html에

<?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php");
echo outlogin("basic");
?>

이렇게 적었습니다.
그리고 test.html을 실행시켜보니

Warning: Cannot modify header information - headers already sent by (output started at /home/gascan91/www/test.html:9) in /home/gascan91/www/gnuboard4/common.php on line 8
이런 문장 한줄 뜨고
로그인창이 보이네요.
도데체 뭘 수정해야 경고문장이 안뜰까요? ㅡㅡㅋ

댓글 2개

test.html에

<?
// include_once("./_common.php");
<?
$g4_path = "gnuboard4"; // common.php 의 상대 경로 --> 이렇게 해보세요.
include_once("$g4_path/common.php");
?>
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
10-01-28 조회 1,576
10-01-28 조회 1,897
10-01-28 조회 2,253
10-01-28 조회 1,125
10-01-27 조회 1,603
10-01-27 조회 1,611
10-01-27 조회 5,300
10-01-27 조회 1,809
10-01-27 조회 1,076
10-01-27 조회 1,686
10-01-27 조회 1,080
10-01-27 조회 818
10-01-27 조회 1,006
10-01-27 조회 2,533
10-01-27 조회 1,607
10-01-27 조회 1,650
10-01-27 조회 3,159
10-01-27 조회 1,205
10-01-27 조회 1,051
10-01-27 조회 1,748