Re: Detect OS

From: Date: Wed, 16 May 2001 17:14:35 +0000
Subject: Re: Detect OS
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-9365@lists.php.net to get a copy of this message
Yep, correct, it is incorrect. sorry read to quickly over it. Johannes ""Hoover, Josh"" <Josh.Hoover@knowledgestorm.com> schrieb im Newsbeitrag 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. >

« previous php.db (#9365) next »