Re: which os?
| From: | Haseeb Iqbal | Date: | Wed, 23 Apr 2003 07:28:24 +0000 |
| Subject: | Re: which os? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-144893@lists.php.net to get a copy of this message | ||
try this and see what php has to offer in GLOBALS array
you will find your answer here
<?
echo "<pre>";
print_r($GLOBALS);
echo "</pre>";
?>
Creativity is inventing, experimenting, growing, taking risks, breaking
rules, making mistakes, and having fun.
Haseeb Iqbal
----- Original Message -----
From: "Chris Edwards" <chris.edwards@obinet.com>
To: <php-general@lists.php.net>
Sent: Tuesday, April 22, 2003 7:29 PM
Subject: [PHP] which os?
> Hi
>
> My script needs to determine which OS it's executing on. Whether is be
> FreeBSD, or Solaris, etc.. Any advice on how to go about doing this?
>
> thanks.
>
> --
> Chris Edwards
> Web Application Developer
> Outer Banks Internet, Inc.
> 252-441-6698
> chris.edwards@obinet.com
> http://www.OuterBanksInternet.com
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>