Re: Can PHP read system installation?

From: Date: Tue, 05 Feb 2002 04:58:22 +0000
Subject: Re: Can PHP read system installation?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-83523@lists.php.net to get a copy of this message
Well, the OSTYPE variable contains some useful info. As do the LC_ALL, HOSTTYPE, MACHTYPE, and SERVER_SOFTWARE variables. Check php_info() for more useful variables. Tyler ----- Original Message ----- From: "Ryan F. Bayhonan" <ryanb@ntsp.nec.co.jp> To: "Tyler Longren" <tyler@captainjack.com>; <php-general@lists.php.net> Sent: Monday, February 04, 2002 10:55 PM Subject: Re: [PHP] Can PHP read system installation? > What if the pc runs not on linux let say windows, how do i do it? > > Thanks. > > Ryan > > ----- Original Message ----- > From: "Tyler Longren" <tyler@captainjack.com> > To: "Ryan F. Bayhonan" <ryanb@ntsp.nec.co.jp>; > <php-general@lists.php.net> > Sent: Tuesday, February 05, 2002 12:50 PM > Subject: Re: [PHP] Can PHP read system installation? > > > > Well, if you know the box is running Linux, you can get the kernel info by > > doing this: > > system("uname -a"); > > > > Tyler > > > > ----- Original Message ----- > > From: "Ryan F. Bayhonan" <ryanb@ntsp.nec.co.jp> > > To: <php-general@lists.php.net> > > Sent: Monday, February 04, 2002 10:51 PM > > Subject: [PHP] Can PHP read system installation? > > > > > > > I just would like to know if PHP can sort of identify all the software > > > installed in a given computer (e.g. OS ). > > > > > > If PHP can what particular function to use. > > > > > > Thanks. > > > > > > Regards, > > > > > > Ryan > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#83523) next »