<?php if (preg_match("/firefox/i",$_SERVER['HTTP_USER_AGENT'])) { header("Location: http://www.google.co.il"); } ?>