--- Steve Delaney <[EMAIL PROTECTED]> wrote:

> I need to keep generated pages active for SOE purposes.
> How do I generate copies for the server?

I don't know what SOE is and I haven't taken time to look it up.

You might look at using the ob_* functions to capture all of the output and at
the bottom of the page you could save the output in a file or database table as
is most appropriate for your purpose.  Take a look at the php.ini directives
for auto_prepend and auto_append since these can run a PHP script (ie include)
you designate which contains the ob_start(), ob_get_contents() and ob_flush()
functions.  

For the ob_start() this must be called before any output goes to the browser. 
Hence your script will have the opening PHP tag on the first character of the
first line.  The ob_start() will appear before your first print or echo
statement as well as any raw HTML outside the PHP tags.

James

Reply via email to