exec command return only the last row of the result.
Try backtrics (``) operators (not '' quots):

e.g.
$output = 'df -h';
echo "<pre>$output</pre>";


> <?php
>
> exec("df -h");
>
> ?>
>
> On Tue, 17 Sep 2002, Bo wrote:
>
> > Any ideas of how to write a php script to determine the disk space left
in
> > my account at my web server?
> >
> >
> >
> >
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to