From: "Wouter van Vliet" <[EMAIL PROTECTED]>
I think I must add something here - besides the fact that a function
like vertual() doesn't exist - I believe Ivik asked how he could get
around this, still doing something like the virtual but keep buffering
the output.
I don't think you can... virtual(
On Fri, 10 Sep 2004 09:24:06 -0400, John Holmes
<[EMAIL PROTECTED]> wrote:
> From: "Ivik Injerd" <[EMAIL PROTECTED]>
>
> > --- test.php:
> > ob_start();
> > virtual("blah.pl");
> > $tmp = ob_get_contents();
> > echo "\n[ TMP: $tmp ]";
> > ob_end_clean();
> >
> > --- test.php (output):
> > blah
> >
Ok, thanks!
John Holmes wrote:
From: "Ivik Injerd" <[EMAIL PROTECTED]>
--- test.php:
ob_start();
virtual("blah.pl");
$tmp = ob_get_contents();
echo "\n[ TMP: $tmp ]";
ob_end_clean();
--- test.php (output):
blah
[ TMP: ]
Looks like vertual() gets past the output buffer. How can I keep it in
the bu
From: "Ivik Injerd" <[EMAIL PROTECTED]>
--- test.php:
ob_start();
virtual("blah.pl");
$tmp = ob_get_contents();
echo "\n[ TMP: $tmp ]";
ob_end_clean();
--- test.php (output):
blah
[ TMP: ]
Looks like vertual() gets past the output buffer. How can I keep it in the
buffer?
I believe a RTFM is in or
--- blah.pl:
#!/usr/bin/perl
print "Content-type: text/plain\r\n\r\n";
print "blah";
exit;
--- test.php:
ob_start();
virtual("blah.pl");
$tmp = ob_get_contents();
echo "\n[ TMP: $tmp ]";
ob_end_clean();
--- test.php (output):
blah
[ TMP: ]
Looks like vertual() gets past the output buffer. How can
5 matches
Mail list logo