RE: [PHP] howto write a DOS file output into a file...
| From: | John W. Holmes | Date: | Mon, 09 Jun 2003 22:49:57 +0000 |
| Subject: | RE: [PHP] howto write a DOS file output into a file... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150825@lists.php.net to get a copy of this message | ||
> 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/