Jump to content

[SOLVED] flushing buffer ob_end_flush()


jeffpoulsen

Recommended Posts

Hello All,

              I have created a script to generate a form, check it and send results to an email address which involves the form page, two files to check the input and send the results, after that the user is directed to another page. In order to do this I had to invoke ob_start() to keep from getting the headers sent error. I have tried to put ob_end_flush() at several places but this always results in an error. However without the closing ob_flush() the script works perfectly. My question is this. If I don't " flush " the buffer does this result in the cache buffer keeping the output after the user leaves the page or the script is run? If so could this result into a memory leak? Thanks for you help, jeff

Link to comment
https://forums.phpfreaks.com/topic/73639-solved-flushing-buffer-ob_end_flush/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.