|
Sujet : Problémes avec PHPsysInfo |
| nicephore17 |
Forum sur SourceForge.net a écrit :
By: webbie - webbie
RE: OS not detected 2004-07-18 02:36
create a file called test.php that look like the following.
<?php
echo "PHP_OS: ". PHP_OS;
?>
I need to know the output.
By: nicephore17 - nicephore17
RE: OS not detected 2004-07-18 14:25
The output is:
PHP_OS: Linux
By: nicephore17 - nicephore17
RE: OS not detected 2004-07-18 14:46
I dont understand, I changed the followinf in index.php:
// Figure out which OS where running on, and detect support //if (file_exists(APP_ROOT . '/includes/os/class.' . PHP_OS . '.inc.php')) { // require('./includes/os/class.' . PHP_OS . '.inc.php'); // $sysinfo = new sysinfo; //} else { // echo '<center><b>Error: ' . PHP_OS . ' is not currently supported</b></cent
// exit; //} require('./includes/os/class.Linux.inc.php'); $sysinfo = new sysinfo; And I get the same problem
|
Source: http://sourceforge.net/forum/forum [...] orum_id=10 |