RE: getting client browser info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:  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


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux