you might want to consider add the html PRE tag, to preserve the output
format.
Something like,
> exec ("du -ks /home/apache",$test[]);
echo " $test[0] ";
This will display the result in the browser, just as it does in the Unix
shell.
__John Monfort_
_+
On Saturday 28 April 2001 04:56, you wrote:
> Hi,
>
> I would like to know how to run du command under PHP.
>
> is this correct ??
>
> exec ("du -ks /home/apache",$test[]);
> echo $test[0]; --> I would like to print out the result in web browser
>
> Thank you
>
> Mark
u can use backtick, exe
Hi,
I would like to know how to run du command under PHP.
is this correct ??
exec ("du -ks /home/apache",$test[]);
echo $test[0]; --> I would like to print out the result in web browser
Thank you
Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
3 matches
Mail list logo