php - rozpoznawanie rozdzielczosci.txt

(0 KB) Pobierz
$x=$HTTP_USER_AGENT;
if(substr_count($x,"MSIE")!=0)
	{ header('Location:index_ie.php3'); }
else if(substr_count($x,"ecko")!=0)
	{ header('Location:index_netscape6.php3'); }
else if(substr_count($x,"pera")!=0)
	{ header('Location:index_opera.php3'); }
else if(substr_count($x,"4.7")!=0)
	{ header('Location:index_netscape4_75_4_78_itd.php3'); }
else
	{ header('Location:inne.php3'); } 
Zgłoś jeśli naruszono regulamin