Retrieve information about the server OS and paths
Filebase PHP Class
This package can be used to retrieve information about the current Web server setup. It can determine the server machine OS, the Web server document root path, the current script path, and the PHP include path.