getting client browser info
| From: | Mignon Hunter | Date: | Mon, 20 Jan 2003 16:31:46 +0000 |
| Subject: | getting client browser info | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-24979@lists.php.net to get a copy of this message | ||
Thanks everybody. That is what I was needing.
Question: Why is it that from an IE client I get the following:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Why does it say mozilla ???
Here's my code:
Your are currently using: <br>
<?printf ($_SERVER["HTTP_USER_AGENT"]); ?><br>
You are using : <?printf ($HTTP_USER_AGENT);?> browser
btw - Both produce the same. Is it because the apache webserver uses
Mozilla in a default sort of way ??? hum .
--
Mignon