[nycphp-talk] object buffering
Christopher Hendry
chendry at nyc.rr.com
Wed Jul 23 15:50:40 EDT 2003
object bufferingI may be wrong, but doesn't ob_start either just turn on
output buffering, or takes a callback function as a paramater. So instead
maybe:
ob_start();
include('showOPA.php');
$blah=ob_get_contents();
ob_end_clean();
echo $blah;
Maybe? Not sure of the include, you may need to print the contents of the
file...but I think this should work.
C
-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]On
Behalf Of Willliam Klein
Sent: Wednesday, July 23, 2003 3:29 PM
To: 'NYPHP Talk'
Subject: [nycphp-talk] object buffering
Hi All;
Is there a way to store the entire output os a php page to be emailed
later?
I was thinkingsomething like:
op_start("showOPA.php");
$blah=op_get_content();
echo $blah;
but it's not doing anything. Is there another function I should be using?
thanks
willie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20030723/7c70d283/attachment.html>
More information about the talk
mailing list