kanenas.net Posted November 27, 2008 Share Posted November 27, 2008 My question is... Is there a tool to log the html response content of apache? I want to log the html content that apache sends to client! Below is a sample... <html> <head> <title>Test</title> </head> <body> This is a <strong>TEST</strong>! <br> All the <i>html markup</i> i want to log... </body> </html> Thanks Quote Link to comment Share on other sites More sharing options...
alluoshi Posted November 27, 2008 Share Posted November 27, 2008 Do you mean that you want the contents of the log file to be presented in HTML format? Quote Link to comment Share on other sites More sharing options...
kanenas.net Posted November 27, 2008 Author Share Posted November 27, 2008 NO!!! Imagine that i have a php script that generates some html, i want to log that html !!! Quote Link to comment Share on other sites More sharing options...
Mchl Posted November 27, 2008 Share Posted November 27, 2008 Perhaps you could do this with output buffering? Quote Link to comment Share on other sites More sharing options...
kanenas.net Posted November 27, 2008 Author Share Posted November 27, 2008 Perhaps you could do this with output buffering? Is there a tutorial how i could do that ? Quote Link to comment Share on other sites More sharing options...
Mchl Posted November 27, 2008 Share Posted November 27, 2008 Here's manual on output buffering. Not however, that I only think it MIGHT be possible using it. Never tried something like that. Quote Link to comment Share on other sites More sharing options...
kanenas.net Posted November 28, 2008 Author Share Posted November 28, 2008 Here's manual on output buffering. Not however, that I only think it MIGHT be possible using it. Never tried something like that. I can't figure it out ??? Any other suggestions? Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.