php-windows | 2003112

Re: [PHP-WIN] capturing the output to a file rather than the browser From: Donatas (MDonatas <email protected>)
Date: 11/16/03

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.
>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php