need help on system()
| From: | Fai | Date: | Wed, 11 Jul 2001 08:21:14 +0000 |
| Subject: | need help on system() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-57324@lists.php.net to get a copy of this message | ||
I run the php script as following:
<?php
//test.php
system("/usr/bin/sudo /usr/bin/quota -v test")
?>
php < test.php - I can get the output
in the browser: http://localhost/test.php - I cannot see any
output
However,
<?php
system("finger");
?>
I can both get the output in the console and browser.
Does anybody know the reasons?
Thank you very much!