I am using a flush(), and it isn’t working, it is supposed to output html to the page, then run through the php below it, but all it does is sit at the form page until the php portion is done, then it refreshes to the users page.
From the Dreamhost wiki article on PHP:
[quote]Output Buffer Cache
PHP functions flush(), ob_flush(), and ob_implicit_flush() will have no apparent effect on DreamHost. For performance reasons on a DreamHost shared host, output is buffered at a higher level than PHP (mod_gzip) and so these commands do not have any visible effect. If you need unbuffered output, you must contact Tech Support to request mod_gzip be disabled for your site. [/quote]