This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

ob_start twice?
#1

Hello,

I already have a line ob_start("ob_gzhandler"); - do I still also need the ob_start(); line?

Thx
Reply
#2

Just looking into this trying to understand it, is there any added benefit in placing ob_flush(); ob_clean();ob_end_flush(); at the end of the file?

Thank you
Reply
#3

Hi,

The ob_start(); line is only used for the 'Remember my form details' feature. So if the feature is working (i.e. successfully remembering the form details) then you don't need it twice.

Regarding the added benefit of placing those lines at the end of the file, I don't believe they are necessary as if they're not there then PHP will automatically do those things anyway.

Have you completed the interview?
Reply
#4

Thanks Steven, appreciated
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)