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

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

팁앤테크

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

페이지 정보

profile_image
작성자 제로
댓글 0건 조회 49,408회 작성일 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 제로 287 06-18
828 제로 3024 03-21
827 제로 3436 02-23
826 제로 30005 11-02
825 제로 33260 07-10
824 제로 42525 04-06
823 제로 30994 02-21
822 제로 35854 12-31
821 제로 30102 12-24
820 제로 29949 12-04
819 제로 32544 10-17
818 제로 31420 10-02
817 제로 54866 08-04
816 제로 29867 08-04
815 제로 40213 08-03
814 제로 40544 07-08
813 제로 68996 07-08
812 제로 83075 07-06
811 제로 31230 06-09
810 제로 36700 06-03
809 제로 35078 04-16
808 제로 35656 03-29
807 제로 30155 03-26
806 제로 37283 03-12
805 제로 32237 03-10

검색

회원로그인

회원가입

사이트 정보

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

접속자집계

오늘
14,232
어제
25,212
최대
431,155
전체
6,739,484
Copyright (c) 株式会社YHPLUS. All rights reserved.