Re: Program Execution and reading results
| From: | Paul Scott | Date: | Thu, 21 Jun 2007 04:51:09 +0000 |
| Subject: | Re: Program Execution and reading results | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257534@lists.php.net to get a copy of this message | ||
On Wed, 2007-06-20 at 21:42 -0700, makhan wrote:
> Now after my
> program has written its output I want to read this text file from php and
> send it back to the browser.
> Can someone please guide me how I can do this.
This seems like an overly complex way of doing something that sounds
quite simple, but anyway, you can use fopen() to open up the resultant
file and do what you need with it.
http://www.php.net/fopen
--Paul