Re: Redirecting output to a file
| From: | php4 at developersdesk dot com | Date: | Wed, 17 Jan 2001 05:20:54 +0000 |
| Subject: | Re: Redirecting output to a file | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44354@lists.php.net to get a copy of this message | ||
Addressed to: "Malcolm Locke" <malcolml@365.co.uk>
php-dev@lists.php.net
** Reply to note from "Malcolm Locke" <malcolml@365.co.uk> Wed, 17 Jan 2001 12:07:25
+0000
>
> Please correct me if there is already a facility to do this in place,
> but I have searched the manual and can find no functions. I would
> like the ability to redirect the standard PHP output stream to a file
> temporarily to a file, and return to output to the browser at some
> point in the script. Here is an example of the kind of thing I mean:
You might want to look at the Optput Buffer stuff:
http://www.php.net/manual/en/html/ref.outcontrol.html
Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com