Re: [PHP] need help on system()

2001-07-11 Thread Marc van Duivenvoorde
hhhm, I played around a little and found another solution which you might find usefull \n"; $num++; } ?> This way you can execute any command and put the output to an array, in the while loop you can print any line in the array. Marc van Duivenvoorde At 01:38 PM 7/11/2001 +0200, M

Re: [PHP] need help on system()

2001-07-11 Thread Marc van Duivenvoorde
I would do it this way . Marc van Duivenvoorde At 04:21 PM 7/11/2001 +0800, you wrote: >I run the php script as following: >//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 o

[PHP] need help on system()

2001-07-11 Thread Fai
I run the php script as following: php < test.php - I can get the output in the browser: http://localhost/test.php - I cannot see any output However, I can both get the output in the console and browser. Does anybody know the reasons? Thank you very much! -- PHP General Mailing List (http