Do you have a question? Post it now! No Registration Necessary. Now with pictures!
August 16, 2005, 11:57 pm
rate this thread
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?
- Tim Van Wassenhove
August 17, 2005, 1:42 am
Re: Grab HTTP Pipline
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 <http://timvw.madoka.be
- » First attempt at uploading image and storing to db
- — Previous thread in » PHP Scripting Forum