That is what I thought it did. Even though you've clarified/confirmed what it does I'm confused as to why having the ob_flush(); flush(); code run would cause some things not to function. It just doesn't make sense.
I can't paste the code, but I can give you a gyst of what it does.
session_start();
-require files-
-mysql queries-
-cpanel/whm function call-
-mail is sent using a custom mail class I created-
Now the script started having trouble with a mysql update query and the mail sending. The only thing added was:
ob_flush();
flush();
And it was between the mysql queries and the mail function. The cpanel/whm function would run fine.
So as you can see it just doesn't make sense and I can't recreate it on my test server. It was happening on another server and the removal of ob_flush(); flush(); removed the problems.
It happened in another area as well that I was able to recreate.
I'm thinking I must be doing something wrong.