jeffpoulsen Posted October 17, 2007 Share Posted October 17, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/73639-solved-flushing-buffer-ob_end_flush/ Share on other sites More sharing options...
trq Posted October 17, 2007 Share Posted October 17, 2007 f 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? The buffer is cleared after each request. Quote Link to comment https://forums.phpfreaks.com/topic/73639-solved-flushing-buffer-ob_end_flush/#findComment-371520 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.