답변플리쓰 !!세션 ) 로그인 > 그누4 질문답변

그누4 질문답변

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

답변플리쓰 !!세션 ) 로그인 정보

답변플리쓰 !!세션 ) 로그인

본문

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/hosting_users/kws2397/www/head.php:5) in /home/hosting_users/kws2397/www/index.php on line 5
────────────────↑오류↑──────────────


─────────────head.php내용─────────────
<head><title>웹프로그래밍 ! 알수록 재밌는걸 !</title></head>
<center>
<embed src=./fla/head_menu.swf width=800 height=80>
</center>
<body bgcolor="000000">     <-5번쨰쭐
 ─────────────────────────────────

─────────────index.php내용─────────────
<?
include "head.php";
?>
<?
session_start();                <- 5번쨰쭐
if (empty ($_SESSION[user_id]))
{
die ("<br><center>");
die ("<a href=./join.php><img src=./img/main_join.gif border=0></a>");
die ("</center>");
die ("<center>");
die ("<form action=login_check.php method=post>");
die ("<font color=white>아이디 :</font><input type=text size=10 maxlength=30 name=user_id>");
die ("<font color=white>비밀번호 :</font><input type=password size=10 maxlength=30 name=pw>");
die ("<input type=submit value=로그인>;");
die ("</form>");
die ("</center>");
}
?><center>
<font color=white><?=$_SESSION[user_id]?>님 환영합니다 ^^</font><br><a href=./logout.php><img src=./img/logout.gif border=0></a></center>
<?
include "tail.php";
?>
─────────────────────────────────

index,head 5번쨰줄이 틀렸다는것같은데 제가보기엔 틀린게없는듯하거든요 ...

댓글 전체

전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

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