i need to put in a var all the processed contents of a .php file in my directory. The filemust be processed, and its output put in a variable, instead of output to the browser. The simple solution would be to use
ob_start() .. .. $var = ob_get_contents() or something like that with ob_ functions, the problem is that i'm already using ob_ function, in particular i put in the beginning of my code a ob_start("ob_gzhandler") , to compress the output. So if I use those funcs twice i'll use the same buffer! Does anyone have solutions?? thanks Mattia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php