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" <[EMAIL PROTECTED]> To: "Tyler Longren" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> > To: "Ryan F. Bayhonan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > 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" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php