$ua = $_SERVER["HTTP_USER_AGENT"];
if(strstr($ua,"Android")){
Header("Location:http://adres.com/dizin");
}