RE: [PHP-DB] Detect OS

2001-05-17 Thread Michael Rudel

 $HTTP_USER_AGENT (if you're using Apache with PHP) should do
 what you need.

¥es, but not 100%, because there R thousands of different User-Agents
out there, and the User-Agent of many browsers R customizable or
Proxy's which R filtering them out.

I think that U can use the $HTTP_USER_AGENT in 80%.

Greetinx,
  Mike

Michael Rudel
- Web-Development, Systemadministration -
___

Suchtreffer AG
Bleicherstraße 20
D-78467 Konstanz
Germany
fon: +49-(0)7531-89207-17
fax: +49-(0)7531-89207-13
e-mail: mailto:[EMAIL PROTECTED]
internet: http://www.suchtreffer.de
___



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Detect OS

2001-05-16 Thread Johannes Janson

Hi,


 How can I detect client's OS/platform with PHP? (Win, Mac, etc.)

with PHP_OS. $os = PHP_OS;

See Chapter 8 - Constants of the manual.

Johannes



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]