0) or ($GLOBALS["REMOTE_ADDR"] =="202.224.239.107")){ // header("Location: $i"); // exit; //} //if((substr_count(gethostbyaddr($GLOBALS["REMOTE_ADDR"]),"jp-"))>0){ // header("Location: $js"); // exit; //} //if(((substr_count(gethostbyaddr($GLOBALS["REMOTE_ADDR"]),"ezweb"))>0) or ((substr_count(gethostbyaddr($GLOBALS["REMOTE_ADDR"]),"ido"))>0)){ // header("Content-Type: text/html; charset=Shift_JIS"); // header("Location: $ez"); // exit; //} $chack_agent = getenv("HTTP_USER_AGENT"); if(ereg("DoCoMo",$chack_agent)){ header("Location: $i"); exit; }elseif(ereg("J-PHONE",$chack_agent)){ header("Location: $js"); exit; }elseif(ereg("Vodafone",$chack_agent)){ header("Location: $js"); exit; }elseif(ereg("MOT-",$chack_agent)){ header("Location: $js"); exit; }elseif(ereg("UP.Browser",$chack_agent)){ header("Location: $ez"); exit; }else{ // header("Location: $i"); // exit; } ?>