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

Quote: "To run the sub-request, all buffers are terminated and flushed to the browser, pending headers are sent too."

You can assume the good F or the back F, it's up to you. :)

---John Holmes...

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



Reply via email to