> When I use my system command in PHP I can run a old EXE file. It makes
an
> output and output is automaticly printing on the web browser. I wanna
save
> this output at the same time into a txt.
>
> Anyone knows howto do it?
Use backticks to capture the output...
$output = `old.exe`;
Note that backtick (`) is not the same as a single quote (').
---John W. Holmes...
Amazon Wishlist: http://www.amazon.com/o/registry/3BEXC84AB3A5E
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php