Re: which os?
| From: | Philip Hallstrom | Date: | Tue, 22 Apr 2003 19:26:21 +0000 |
| Subject: | Re: which os? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-144892@lists.php.net to get a copy of this message | ||
Create a page named "phpinfo.php". Put the following into it:
<?php phpinfo(); ?>
Load that page up on your server and view it with a browser. Scroll down
to the "PHP Variables" section and look for what you want.
This is a good/quick way to find all kinds of things that are available.
On Tue, 22 Apr 2003, Chris Edwards wrote:
> 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
>