require_once("perm.php"); //if(strstr($_SERVER['HTTP_USER_AGENT'], 'iPhone') !== false) // header('location:/index_mobile.html'); ?>