순

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

· 2012-02-29 (수) 19:16:14 · 1707 · 5
시하님이 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 질문답변

66,531건

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

+
제목 글쓴이 날짜 조회
12-03-01 조회 924
12-03-01 조회 1,546
12-02-29 조회 1,259
12-02-29 조회 1,167
12-02-29 조회 1,708
12-02-29 조회 1,465
12-02-29 조회 1,899
12-02-29 조회 1,648
12-02-29 조회 2,229
12-02-29 조회 1,082
12-02-29 조회 1,493
12-02-29 조회 1,244
12-02-29 조회 1,752
12-02-29 조회 1,072
12-02-29 조회 1,074
12-02-29 조회 1,807
12-02-29 조회 2,163
12-02-29 조회 1,686
12-02-29 조회 1,112
12-02-29 조회 1,064