Grab HTTP Pipline

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
In PHP is there a way to grab the HTTP Pipeline?

I want to be able to grab all the HTML code that gets streamed to the
user.  I want to add the ability to send copies of a page as an email
attachment.  The pages are already built and working, so it would be
nice to not have to duplicate code that already exists.  Can I just
have it grab what it sends to the user and then save that into a file?

Do you understand what I'm asking for?


Re: Grab HTTP Pipline

Quoted text here. Click to load it

The easiest is to use php auto_prepend and auto_append functionality.

In the prepend you write something like:


In the append you write something like:

$contents = ob_get_contents();
// do stuff with $contents


Met vriendelijke groeten,
Tim Van Wassenhove <

Site Timeline