Re: [PHP] Pregenerating Script

2002-01-31 Thread David Otton
On Thu, 31 Jan 2002 22:28:59 +0530, you wrote: I want a php script which takes 4 parameters : - header file - body file - footer file - OUTPUT file What it should do is combine 1. header, 2. body, and 3. footer and save it as 4. OUTPUT file Is cat header body footer output

RE: [PHP] Pregenerating Script

2002-01-31 Thread Kevin Stone
Sound like the perfect job for Output Buffering. I only recently learned about these functions and they're great! There are four functions you need to be aware of.. ob_start() Starts output buffering anything going out to the screen is routed to the buffer. ob_flush() Outputs the entire

Re: [PHP] Pregenerating Script Again

2002-01-31 Thread Jason Wong
On Friday 01 February 2002 03:52, karthikeyan wrote: Hi Guys, I got some sweet responses like using cat and using Output Buffering functions. But then what i really want is to provide user with the interface like this : Pregeneration Program ---