php de eğer İe ile girilmişse, a.php ye eğer firefox ile girilmiş ise b.php ye nasıL yapablirm.
<?php
$ie_ve_ff_degil = 'c.php'; // internet explorer veya firefox değilse hangi dosyaya gitsin
ob_start();
if(preg_match('#MSIE#i',$_SERVER['HTTP_USER_AGENT']))
header('Location:a.php');
elseif(preg_match('#Firefox#i',$_SERVER['HTTP_USER_AGENT']))
header('Location:b.php');
else
header('Location:'.$ie_ve_ff_degil);
ob_end_flush();
?>