/? $arr_browser = array ("iPhone","iPod","IEMobile","Mobile","lgtelecom","PPC","Opera Mini","Android"); for($indexi = 0 ; $indexi < count($arr_browser) ; $indexi++) { if(strpos($_SERVER['HTTP_USER_AGENT'],$arr_browser[$indexi]) == true){ // ¸ð¹ÙÀÏ ºê¶ó¿ìÀú¶ó¸é ¸ð¹ÙÀÏ URL·Î À̵¿ header("Location: ../m"); exit; } } ?>