>> Edit article
이름
제목
패스워드
실행시키니 이런 에러가 나네요. Warning: Cannot add more header information - the header was already sent (header information may be added only before any output is generated from the script - check for text or whitespace outside PHP tags, or calls to functions that output text) in ../nocache.inc on line 3 Warning: Cannot add more header information - the header was already sent (header information may be added only before any output is generated from the script - check for text or whitespace outside PHP tags, or calls to functions that output text) in ../nocache.inc on line 4 Warning: Cannot add more header information - the header was already sent (header information may be added only before any output is generated from the script - check for text or whitespace outside PHP tags, or calls to functions that output text) in ../nocache.inc on line 5 Warning: Cannot add more header information - the header was already sent (header information may be added only before any output is generated from the script - check for text or whitespace outside PHP tags, or calls to functions that output text) in ../nocache.inc on line 6 ## dbconn.inc Warning: 0 is not a MySQL result index in /usr/local/apache/htdocs/freeboard/view_board.php on line 22 참고로 nocache.inc소스는 이렇숩니다. <? header ("Expires: Mon, 25 Dec 2000 05:00:00 GMT"); header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("cache-contril: no-cache,must-revalidate"); header("pragma: no-cache") ; ?> 뭐 제가 짠게 아니라..어디서 가져와서 하는건데요... 어떻게 하다보면 위의 5개의 warning중 위의것은 없어지고 맨 아래것은 계속 나옵니다. 요것이 view_board.php의 소수 일부입니다. <? $query = "select * from freeboard where num=$num"; $result = mysql_query($query); $rs=mysql_fetch_array($result); <==요기가 22행임다. $content = StripSlashes($rs[content]); $title = StripSlashes($rs[title]); $content = nl2br($content); $title = nl2br($title); $fid = $rs[fid]; $thread = $rs[thread]; $counter = $rs[counter]; $date = date("Y-m-d",$rs[date]); $tag = "page=".$page."&num=".$num."&key=".$key."&sel=".$sel; ?><? $query = "select * from freeboard where num=$num"; $result = mysql_query($query); $rs=mysql_fetch_array($result); $content = StripSlashes($rs[content]); $title = StripSlashes($rs[title]); $content = nl2br($content); $title = nl2br($title); $fid = $rs[fid]; $thread = $rs[thread]; $counter = $rs[counter]; $date = date("Y-m-d",$rs[date]); $tag = "page=".$page."&num=".$num."&key=".$key."&sel=".$sel; ?> <? $query = "select * from freeboard where num=$num"; $result = mysql_query($query); $rs=mysql_fetch_array($result); $content = StripSlashes($rs[content]); $title = StripSlashes($rs[title]); $content = nl2br($content); $title = nl2br($title); $fid = $rs[fid]; $thread = $rs[thread]; $counter = $rs[counter]; $date = date("Y-m-d",$rs[date]); $tag = "page=".$page."&num=".$num."&key=".$key."&sel=".$sel; ?> 하루종일 했는데 안되네요..헉..--이 곳에 서명을 적어주십시오. 시러요..
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved