You are here: Re: Detecting the SERVER OS « All PHP « IT news, forums, messages
Re: Detecting the SERVER OS

Posted by Juliette on 08/20/06 13:36

werner huysmans wrote:
> I've written a CMMS program (http://www.mycmms.org) which is used by
> maintenance departments to manage their workload.
> One of the installation issues is that users must change the log file
> depending on whether they run Apache/PHP/MySQL on Windows (WAMPServer) or
> LINUX (LAMP). Is there a light solution to detect the OS of the Server.
> It MUST be light, because the log file is in a PHP part, which is always
> used in almost every script.
>
>
>


You might want to have a look at any of the following, although I don't
know how well they can be 'trusted'. Have a look at the php
documentation for them for more information:

$_SERVER["SERVER_SIGNATURE"]
$_SERVER["SERVER_SOFTWARE"]
$_ENV["SERVER_SOFTWARE"]

 

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

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