[code=php]
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo $_SERVER['HTTP_USER_AGEN T']; ?>
</body>
</html>
[/code]
when i have running the above code on my system,it gives two different result in Mozilla & MSIE Browser.I couldn't understand why?please guide me.?
the result in Mozilla is:-Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
the result in MSIE is:-Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
thanks.
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo $_SERVER['HTTP_USER_AGEN T']; ?>
</body>
</html>
[/code]
when i have running the above code on my system,it gives two different result in Mozilla & MSIE Browser.I couldn't understand why?please guide me.?
the result in Mozilla is:-Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
the result in MSIE is:-Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
thanks.
Comment