외부로그인좀 도와주세요 정보
외부로그인좀 도와주세요관련링크
본문
현재 제 홈페이지 계정은
[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
이런 문장 한줄 뜨고
로그인창이 보이네요.
도데체 뭘 수정해야 경고문장이 안뜰까요? ㅡㅡㅋ
댓글 전체
test.html에
<?
// include_once("./_common.php");
<?
// include_once("./_common.php");

<?
$g4_path = "gnuboard4"; // common.php 의 상대 경로 --> 이렇게 해보세요.
include_once("$g4_path/common.php");
?>
$g4_path = "gnuboard4"; // common.php 의 상대 경로 --> 이렇게 해보세요.
include_once("$g4_path/common.php");
?>