<?php
ob_start();
include('foo.php');
$string = ob_get_contents();
ob_end_clean();
// - cnb
?>
On Sun, 25 Aug 2002 13:52:48 +0500 (IST) kapil_karekar@vsnl.net wrote:
hi guys,
I am having an issue with a PHP site that i am building. I know
this is a bit offtrack but i will really appreciate it if anyone
could suggest a solution.
I have a php script which is generating some dynamic content.
The file also contains other php scripts. I want to store the
content generated by the php script in a string rather than
outputting it to the browser window.
thanks in anticipation,
cheers Kapil Karekar