if(eregi(array("iphone","ipod"),$_SERVER['HTTP_USER_AGENT']) == TRUE) { header("locaton: sayfa.php"); }