[제나플러스] UTF-8 페이지에서 한글링크깨짐 문제 > 팁앤테크

본문 바로가기
사이트 내 전체검색

팁앤테크

[제나플러스] UTF-8 페이지에서 한글링크깨짐 문제

페이지 정보

profile_image
작성자 제로
댓글 0건 조회 49,399회 작성일 09-05-06 21:33

본문

lib/common.lib.php

// 메타태그를 이용한 URL 이동
// header("location:URL") 을 대체
function goto_url($url)
{
    /*
    if (preg_match("/MSIE/", $_SERVER[HTTP_USER_AGENT]))
        echo "<meta http-equiv='Refresh' content='0;url=$url'>";
    else
        echo "<script language='JavaScript'> document.location.href = '$url'; </script>";
    */
    //header("Location:$url");
    //flush();
    //if (!headers_sent())
    //    header("Location:$url");
    //else
    //echo "<script language='JavaScript'> document.location.href = '$url'; </script>";
    echo "<meta http-equiv=\"content-type\" content=\"text/html; charset=$g4[charset]\">";
    echo "<script language='JavaScript'> location.replace('$url'); </script>";
    exit;
}

댓글목록

등록된 댓글이 없습니다.

Total 829건 1 페이지
  • RSS
팁앤테크 목록
번호 제목 글쓴이 조회 날짜
829 제로 274 06-18
828 제로 3013 03-21
827 제로 3427 02-23
826 제로 29997 11-02
825 제로 33255 07-10
824 제로 42518 04-06
823 제로 30986 02-21
822 제로 35837 12-31
821 제로 30096 12-24
820 제로 29945 12-04
819 제로 32538 10-17
818 제로 31413 10-02
817 제로 54840 08-04
816 제로 29861 08-04
815 제로 40205 08-03
814 제로 40533 07-08
813 제로 68977 07-08
812 제로 83056 07-06
811 제로 31221 06-09
810 제로 36692 06-03
809 제로 35073 04-16
808 제로 35646 03-29
807 제로 30153 03-26
806 제로 37275 03-12
805 제로 32228 03-10

검색

회원로그인

회원가입

사이트 정보

株式会社YHPLUS / 대표 : ZERO
〒140-0011 東京都品川区東大井2-5-9-203
050-5470-4714
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d

접속자집계

오늘
10,435
어제
25,212
최대
431,155
전체
6,735,687
Copyright (c) 株式会社YHPLUS. All rights reserved.