Re: how to get server os?
| From: | Philip Hallstrom | Date: | Fri, 22 Mar 2002 18:19:42 +0000 |
| Subject: | Re: how to get server os? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-89720@lists.php.net to get a copy of this message | ||
Create a script that looks like this:
<?php
phpinfo();
?>
and then look at the output of that for your operating system... odds are
you'll find a $_SERVER variable that gives you what you want.
On Fri, 22 Mar 2002, Prachait Saxena wrote:
> Hello Friends
>
> Can any one tell me how can i get the server operating system, on which my
> php script is running ?
> and envermental variable or any other idea ...
>
> Bye, and Have a nice day.
>
> Prachait Saxena
> ---------------------------
> Phone :- +91 - 712 - 544476
> Email :- prachait@nagpur.dot.net.in (Official)
> prachait@yahoo.com (Official)
> getprachait@yahoo.com (Personal)
> ICQ :- 71855637
> MSN :- prachait
> Yahoo Messenger :- getprachait
>
> If you do for other's !
> Other's will do for you !!
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>