> I'm looking for something that returns just the OS type, not tons of > information. :) I think the constant PHP_OS is what I'm looking for. > I just found it. > > Thanks for the suggestion though,
The idea was that you look at that "tons of information" and find the variable you are after. That page lists all of the variables available to PHP. These may work, too: $_ENV["MACHTYPE"] $_ENV["OSTYPE"] ---John Holmes.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php