Hello all,
I’m in a slightly ridiculous situation and hope someone can point me in the right direction.
I have a canned function from a PHP script that I can’t edit directly that displays HTML to the browser.
Unfortunately, the function doesn’t also return the string of everything it’s sending to the browser, but that’s precisely what I need: all of the tags and text its showing. (It doesn’t matter whether the resulting page actually shows up or not, as this entire script is just for the purpose of writing what it spits out to a static .html file.)
Is there any way to “capture” the text the function call displays in PHP4?
I was thinking that one possible method would be to somehow look at the client-side source that PHP has processed at the end of the script itself. Is there any way to view your own source?
Or better yet, does anyone have any knowledge that might help me out?