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 i

Re: [PHP-DB] Detect OS

2001-05-16 Thread Johannes Janson
Yep, correct, it is incorrect. sorry read to quickly over it. Johannes ""Hoover, Josh"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag E973048AB322D411AE99009027E32DF685CC35@FRAZ">news:E973048AB322D411AE99009027E32DF685CC35@FRAZ... > This advice is incorrect I believe. PHP_OS will return the OS PHP

RE: [PHP-DB] Detect OS

2001-05-16 Thread Hoover, Josh
This advice is incorrect I believe. PHP_OS will return the OS PHP is running on, not what the OS of the client. >From the manual: PHP_OS The name of the operating system on which the PHP parser is executing; e.g. 'Linux'. $HTTP_USER_AGENT (if you're using Apache with PHP) should do what you n

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 PROTEC