You are here: Re: Best way to test for host operating system? « PHP Programming Language « IT news, forums, messages
Re: Best way to test for host operating system?

Posted by Wolfgang Forstmeier on 10/15/80 11:25

Hi,

try to use the PHP_OS predefined constant.

More constants are shown here...

http://de2.php.net/manual/en/reserved.constants.php


lwoods wrote:
> I am running under Windows at the present time and have found that I need to
> change code from linux implementation.
>
> How do I test to see which O/S I am running under?
>
> TIA,
>
> Larry Woods
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация