I have written a small script in order to check the browser of the user and find that the code isnt working , even if i open the php page in IE its still outputting Mozilla
<?php $browser = $_SERVER['HTTP_USER_AGENT'] ; echo $browser. "\n\n"; ?>
Output in Mozilla:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:126.96.36.199) Gecko/20100625 Firefox/3.6.6
Output in IE:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)
i aint have ne idea on whats wrong with the output .