Re: Detectar el OS con PHP.
| From: | PHP | Date: | Fri, 13 Jun 2003 16:53:22 +0000 |
| Subject: | Re: Detectar el OS con PHP. | ||
| References: | 1 2 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-37340@lists.php.net to get a copy of this message | ||
Aca ta :)
if (eregi('WIN',PHP_OS)) {
echo "<center>Plataformas Win32 No estan Soportadas por BHSL</center>";
exit;
}
----------------------------------------------
Alberto Ferrer
albertof@barrahome.org
http://www.barrahome.org
----------------------------------------------
Syntax Error in KITCHEN.H: COFFEE not found.
----- Original Message -----
From: "lmc" <php@datcom.com.ar>
To: <lista@phpes.com>; "PHP" <php@barrahome.org>
Sent: Friday, June 13, 2003 10:12 AM
Subject: Re: [PHP-ES] Detectar el OS con PHP.
> Probaste con PHP_OS?
>
> http://www.php.net/manual/en/reserved.constants.core.php
>
> Suerte.
>
> luisMCarella
> lcarella@datcom.com.ar
> ----- Original Message -----
> From: "PHP" <php@barrahome.org>
> To: <lista@phpes.com>
> Sent: Friday, June 13, 2003 9:24 AM
> Subject: [PHP-ES] Detectar el OS con PHP.
>
>
> Alguien me puede decir como detectar el sistema operativo que uso ?
>
> Hable de alguna funcion en PHP.
> ----------------------------------------------
> Alberto Ferrer
> albertof@barrahome.org
> http://www.barrahome.org
> ----------------------------------------------
> Syntax Error in KITCHEN.H: COFFEE not found.
>
>
>
>
>