//smart log mobile redirect $arr_browser = array ("iPod","iPad","iPhone","Android","BlackBerry","SymbianOS","SCH-M","Mobi","lgtelecom"); for($indexi = 0 ; $indexi < count($arr_browser) ; $indexi++) { if(strpos($_SERVER['HTTP_USER_AGENT'],$arr_browser[$indexi]) == true){ $smtg_refer="http://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]; header("Location:http://gangnamsa.com/default/mo/?SMTG_REFER=$smtg_refer"); exit; } } ?>