시하님의 상단메뉴적용이 안되요;

시하님이 head.sub.php에
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" lang="ko">
를 추가하시라는데 Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/adsms01/www/head.sub.php:1) in /home/hosting_users/adsms01/www/head.sub.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/adsms01/www/head.sub.php:1) in /home/hosting_users/adsms01/www/head.sub.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/adsms01/www/head.sub.php:1) in /home/hosting_users/adsms01/www/head.sub.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/adsms01/www/head.sub.php:1) in /home/hosting_users/adsms01/www/head.sub.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/adsms01/www/head.sub.php:1) in /home/hosting_users/adsms01/www/head.sub.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/adsms01/www/head.sub.php:1) in /home/hosting_users/adsms01/www/head.sub.php on line 38
이 뜨면서 안되네요 ㅠ 도와주세요
|

댓글 5개

/*
// 만료된 페이지로 사용하시는 경우
header("Cache-Control: no-cache"); // HTTP/1.1
header("Expires: 0"); // rfc2616 - Section 14.21
header("Pragma: no-cache"); // HTTP/1.0
*/
?>

밑에 넣으셔야되요
빠른답변 감사합니다.
다른분들은 head.sub.php 의 <html>앞에 넣으라는데.. 똑같이 오류나서.. ㅋ 왕초보라서
아직 잘 이해를 못하겠네요.
// 만료된 페이지로 사용하시는 경우
header("Cache-Control: no-cache"); // HTTP/1.1
header("Expires: 0"); // rfc2616 - Section 14.21
header("Pragma: no-cache"); // HTTP/1.0
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" lang="ko">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=<?=$g4['charset']?>">
<title><?=$g4['title']?></title>
<link rel="stylesheet" href="<?=$g4['path']?>/style.css" type="text/css">
이렇게 해도 안되요 ㅠ
/*
// 만료된 페이지로 사용하시는 경우
header("Cache-Control: no-cache"); // HTTP/1.1
header("Expires: 0"); // rfc2616 - Section 14.21
header("Pragma: no-cache"); // HTTP/1.0
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="ko">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?=$g4['charset']?>">
<title><?=$g4['title']?></title>
<link rel="stylesheet" href="<?=$g4['path']?>/style.css" type="text/css">
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
13년 전 조회 1,587
13년 전 조회 1,548
13년 전 조회 1,999
13년 전 조회 1,576
13년 전 조회 952
13년 전 조회 811
13년 전 조회 1,456
13년 전 조회 1,151
13년 전 조회 1,062
13년 전 조회 1,598
13년 전 조회 1,359
13년 전 조회 1,780
13년 전 조회 1,531
13년 전 조회 2,109
13년 전 조회 970
13년 전 조회 1,395
13년 전 조회 1,142
13년 전 조회 1,646
13년 전 조회 950
13년 전 조회 959
🐛 버그신고