|
-
Executing local programs thru PHP...
Here's a new one:
<?php
exec("usr/bin/uptime", $result);
echo $result;
?>
Simple huh!?
So why is the output instead of the real uptime of the system just Array?
According to the function description at http://www.php.net/manual/en/function.exec.php the functions should spit out a string and not an array, shouldn't it!?
And why doesn't it print out the data, it only produces the array whatever output... argh!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|