RE: [PHP-DB] getting client browser info
| From: | zmn | Date: | Mon, 20 Jan 2003 15:28:34 +0000 |
| Subject: | RE: [PHP-DB] getting client browser info | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-24974@lists.php.net to get a copy of this message | ||
Use this to get the array in which you can find the var you need:
<?php
print "<pre>";
print_r($_SERVER);
print "</pre>";
?>
So this is the var you're looking for:
$_SERVER["HTTP_USER_AGENT"];
-----Oorspronkelijk bericht-----
Van: Mignon Hunter [mailto:hunter@tic.toshiba.com]
Verzonden: maandag 20 januari 2003 16:05
Aan: php-db@lists.php.net
Onderwerp: [PHP-DB] getting client browser info
Hello all,
I need a quick script to get the client's browser make and model.
ie 5 ns 4.7 etc.
I've found some info in two books but no examples of how to use it to
get your visitors info. Not coming up with anything helpful on the php
site -
will continue to look.
If anyone has done this and/or has an example I would be greatful
Thx
Mignon
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php