이거 왜? 뜨는지 정보
이거 왜? 뜨는지본문
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/sites/by/html/g4/head.php:1) in /usr/local/sites/by/html/g4/head.sub.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/sites/by/html/g4/head.php:1) in /usr/local/sites/by/html/g4/head.sub.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/sites/by/html/g4/head.php:1) in /usr/local/sites/by/html/g4/head.sub.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/sites/by/html/g4/head.php:1) in /usr/local/sites/by/html/g4/head.sub.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/sites/by/html/g4/head.php:1) in /usr/local/sites/by/html/g4/head.sub.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/sites/by/html/g4/head.php:1) in /usr/local/sites/by/html/g4/head.sub.php on line 38
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/sites/by/html/g4/head.php:1) in /usr/local/sites/by/html/g4/head.sub.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/sites/by/html/g4/head.php:1) in /usr/local/sites/by/html/g4/head.sub.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/sites/by/html/g4/head.php:1) in /usr/local/sites/by/html/g4/head.sub.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/sites/by/html/g4/head.php:1) in /usr/local/sites/by/html/g4/head.sub.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/sites/by/html/g4/head.php:1) in /usr/local/sites/by/html/g4/head.sub.php on line 38
아시는분 좀 가르처주세요 !! 참고로 전 왕초보 입니다.
댓글 전체
고수님들 죄송하지만 잘좀 가르처주세요 ㅜㅜ
<? 뒤에 빈칸이 존재 하거나..
include 선언문 바로위에 공백 혹은 주석문이 존재해서 발생할 수 있습니다..
혹은 head.sub.php 가 중복 인클루드 되어 있을 가능성이 있습니다.
include 선언문 바로위에 공백 혹은 주석문이 존재해서 발생할 수 있습니다..
혹은 head.sub.php 가 중복 인클루드 되어 있을 가능성이 있습니다.
header("Content-Type: text/html; charset=$g4[charset]");
$gmnow = gmdate("D, d M Y H:i:s") . " GMT";
header("Expires: 0"); // rfc2616 - Section 14.21
header("Last-Modified: " . $gmnow);
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: pre-check=0, post-check=0, max-age=0"); // HTTP/1.1
header("Pragma: no-cache");
이부분이 잘못됏다는데 잘모르겠네요
$gmnow = gmdate("D, d M Y H:i:s") . " GMT";
header("Expires: 0"); // rfc2616 - Section 14.21
header("Last-Modified: " . $gmnow);
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: pre-check=0, post-check=0, max-age=0"); // HTTP/1.1
header("Pragma: no-cache");
이부분이 잘못됏다는데 잘모르겠네요
위 코드가 head.php 첫 부분인가요?
head.sub.php에 보시면 이런 내용들이 있는데 겹치는 것은 어떻게 해야할지 모르겠네요.
우선은 head.sub.php을 head.php <HTML 앞으로 옮기세요.
head.sub.php에 보시면 이런 내용들이 있는데 겹치는 것은 어떻게 해야할지 모르겠네요.
우선은 head.sub.php을 head.php <HTML 앞으로 옮기세요.
head.php 첫부분은
<script language="JavaScript">
<!--
function na_preload_img()
{
var img_list = na_preload_img.arguments;
if (document.preloadlist == null)
document.preloadlist = new Array();
var top = document.preloadlist.length;
for (var i=0; i < img_list.length-1; i++) {
document.preloadlist[top+i] = new Image;
document.preloadlist[top+i].src = img_list[i+1];
}
}
function na_change_img_src(name, nsdoc, rpath, preload)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img) {
img.altsrc = img.src;
img.src = rpath;
}
}
function na_restore_img_src(name, nsdoc)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img && img.altsrc) {
img.src = img.altsrc;
img.altsrc = null;
}
}
// -->
</script>
이거 입니다.
저기 위에 쓴건 head.sud.php에 있는거고요
<script language="JavaScript">
<!--
function na_preload_img()
{
var img_list = na_preload_img.arguments;
if (document.preloadlist == null)
document.preloadlist = new Array();
var top = document.preloadlist.length;
for (var i=0; i < img_list.length-1; i++) {
document.preloadlist[top+i] = new Image;
document.preloadlist[top+i].src = img_list[i+1];
}
}
function na_change_img_src(name, nsdoc, rpath, preload)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img) {
img.altsrc = img.src;
img.src = rpath;
}
}
function na_restore_img_src(name, nsdoc)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
if (img && img.altsrc) {
img.src = img.altsrc;
img.altsrc = null;
}
}
// -->
</script>
이거 입니다.
저기 위에 쓴건 head.sud.php에 있는거고요