print.php 에 대한 질문 > 그누4 질문답변

그누4 질문답변

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

print.php 에 대한 질문 정보

print.php 에 대한 질문

본문

프린트 클릭을 하니
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/qdgolf/www/jd/bbs/print.php:1) in /home/hosting_users/qdgolf/www/jd/common.php on line 8
위에 처럼 에러 메세지가 뜹니다.

그래서 common.php 화일을 열어보니 8번째줄이 아래 문장인데
어디가 틀린건가요?


header('P3P: CP="ALL CURa ADMa DEVa TAIa OUR BUS IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC OTC"');

아래는 print.php 화일입니다.

<?
include_once("./_common.php");

$view = get_view($write, $board, $board_skin_path);

if (strstr($sfl, "subject"))
    $view[subject] = search_font($stx, $view[subject]);

$html = 0;
if (strstr($view[wr_option], "html1"))
    $html = 1;
else if (strstr($view[wr_option], "html2"))
    $html = 2;

$view[content] = conv_content($view[wr_content], $html);
if (strstr($sfl, "content"))
    $view[content] = search_font($stx, $view[content]);
$view[content] = preg_replace("/(\<img )([^\>]*)(\>)/i", "\\1 name='target_resize_image[]' onclick='image_window(this)' style='cursor:pointer;' \\2 \\3", $view[content]);

$view[rich_content] = preg_replace("/{이미지\:([0-9]+)[:]?([^}]*)}/ie", "view_image(\$view, '\\1', '\\2')", $view[content]);

include_once("$board_skin_path/print.skin.php");
?>
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로