this is just a shot in the dark, beware. but i think you could make use of the
system() function and pass the output to a file.
ex. system('df > ~/public_html/output.tmp');
but i've never tried the function, try to search php.net functions for system
On Tue, 12 Nov 2002 12:33:09 -0500
[EMAIL PROTECTED] (Greg) wrote:
>Is there a way in PHP to execute a program and then have it pass its output
>back to PHP? Say I wanted to return the value that running "df" produced
>and put it in a web page? Thanks!!
Gustaf Sjoberg <[EMAIL PROTECTED]>
<(" <) <(" )> <( ")> (> ")>
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php