RE: [PHP-DB] Detect OS
> $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
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 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 need. > -- 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
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 need. Josh Hoover KnowledgeStorm, Inc. [EMAIL PROTECTED] Searching for a new IT solution for your company? Need to improve your product marketing? Visit KnowledgeStorm at www.knowledgestorm.com to learn how we can simplify the process for you. KnowledgeStorm - Your IT Search Starts Here > > 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.
Re: [PHP-DB] Detect OS
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]