Re: Bug #24491
| From: | Jon Parise | Date: | Sat, 05 Jul 2003 19:37:41 +0000 |
| Subject: | Re: Bug #24491 | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18035@lists.php.net to get a copy of this message | ||
On Sat, Jul 05, 2003 at 01:07:03PM -0400, Olivier Hill wrote:
> Can always be useful ;) By the way, I could fix the script, but I'm
> really wondering what's the "best and cleaner" way to detect the OS via
> PHP. Is there any #ifdef style conditions, like preprocessing commands
> in C? I can't use "uname -s", it's not portable on Win32.
http://www.php.net/manual/en/function.php-uname.php
--
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)