като го направия така
<?php
$uagent = getenv("HTTP_USER_AGENT");
if(strstr($uagent,"Firefox")) {
http://localhost/u/index2.html/
}elseif(strstr($uagent,"MSIE")) {
http://localhost/u/index.html/
}else{
http://localhost/u/index.html/
}
?>
дава ми грешка
Parse error: syntax error, unexpected...