신기하게 www를 붙이면... 정보
신기하게 www를 붙이면...본문
http://www.mscore.co.kr 을 치면 문자발송에 글씨가 깨지는데
http://mscore.co.kr 로 치면 글씨가 안깨집니다.
<iframe src="http://www.mscore.co.kr/fmail/form3.php" scrolling="no" noresize="" width="210" height="315" align="middle" frameborder="0"></iframe>
이 경로에서 www를 쓰면 www.mscore.co.kr 에서 보이고 빼면 mscore.co.kr 에서 보입니다.
어떻게 해결해야 될까요?
http://mscore.co.kr 로 치면 글씨가 안깨집니다.
<iframe src="http://www.mscore.co.kr/fmail/form3.php" scrolling="no" noresize="" width="210" height="315" align="middle" frameborder="0"></iframe>
이 경로에서 www를 쓰면 www.mscore.co.kr 에서 보이고 빼면 mscore.co.kr 에서 보입니다.
어떻게 해결해야 될까요?
댓글 전체
<iframe src="http://mscore.co.kr/fmail/form3.php" scrolling="no" noresize="" width="210" height="315" align="middle" frameborder="0"></iframe>
mscore.co.kr/fmail/form3.php 파일 utf-8 로 저장
mscore.co.kr/fmail/form3.php 파일 utf-8 로 저장
그렇게 했는데 안돼네요...;;
src="http://www.mscore.co.kr/fmail/form3.php"
이 경로에서 www를 쓰면 www.mscore.co.kr에서 보이고 빼면 mscore.co.kr에서 보입니다.
src="http://www.mscore.co.kr/fmail/form3.php"
이 경로에서 www를 쓰면 www.mscore.co.kr에서 보이고 빼면 mscore.co.kr에서 보입니다.
form3.php utf-8로 저장은 앞서 처리 했으면 해당 파일 맨 위에
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
위 한 줄 추가 후 테스트 해 보세요.
iframe 사용 특정 목적이 있으신가요? 아래 처럼 처리 후 결과 체크도 해 보세요.
include_once("$g4[path]/fmail/form3.php"); // 경로는 상황에 맞게 수정
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
위 한 줄 추가 후 테스트 해 보세요.
iframe 사용 특정 목적이 있으신가요? 아래 처럼 처리 후 결과 체크도 해 보세요.
include_once("$g4[path]/fmail/form3.php"); // 경로는 상황에 맞게 수정
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
로 해결했습니다. 너무 감사합니다.
전 $conf[charset] = 'utf-8'; 이게 있어서 생각을 못했어요.
로 해결했습니다. 너무 감사합니다.
전 $conf[charset] = 'utf-8'; 이게 있어서 생각을 못했어요.
www 붙이는게 안깨지는것 같은데요.
도메인 따로하면 로그인도 풀리고 불편해서 전 그냥 head.sub.php 파일에
if ($_SERVER["HTTP_HOST"]=="mscore.co.kr" ){header("location:http://www.mscore.co.kr".$_SERVER['REQUEST_URI']); }
이렇게 넣어서 사용합니다.
도메인 따로하면 로그인도 풀리고 불편해서 전 그냥 head.sub.php 파일에
if ($_SERVER["HTTP_HOST"]=="mscore.co.kr" ){header("location:http://www.mscore.co.kr".$_SERVER['REQUEST_URI']); }
이렇게 넣어서 사용합니다.