$USER_AGENT = $_SERVER['HTTP_USER_AGENT']; if ( eregi("android", $USER_AGENT) ) { Header("Location: https://play.google.com/store/apps/details?id=br.com.catho.app.vagas.empregos"); exit; } else if ( eregi("ipad|iphone", $USER_AGENT) ) { Header("Location: https://itunes.apple.com/br/app/catho-empregos/id549669768"); exit; } ?>