Re: capturing the output to a file rather than the browser
| From: | Donatas | Date: | Sun, 16 Nov 2003 11:56:23 +0000 |
| Subject: | Re: capturing the output to a file rather than the browser | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-22116@lists.php.net to get a copy of this message | ||
Yep, what you need is called output buffering.
read about ob_start (); and other ob_* (); functions in PHP manual.
Donny
Brent wrote:
Hi, Wondering if anyone can help!. I am trying to run a file like this after a submit from a form. <form action="showmatches.php" target="new"> .. .. </form> My question is! Is there anyway using PHP to capture the output that is displayed above in a new window when the 'showmatches.php' is run to a file instead. Kinda like viewing the source once in the browser but instead it's going straight to a file on the server automatically. Thanks, Brent.