I have several images to preload for a web page. I wrote a nice routine to show a progress bar and update it after each image is preloaded. Works great on my PC. (XP with IIS). The one thing I have to do is flush the buffer each time I update the progress bar to see the change on the screen.
When I copy this program up to the hosting server, Unix based www.fatcow.com, I get an error each time it hits the following command:
<? flush();ob_flush(); ?>
The error is:
Notice: ob_flush(): failed to flush buffer. No buffer to flush. in c:\inetpub\wwwroot\portfolio.php on line 158
If I leave out the ob_flush() and just use flush() I get no error message but it does not refresh the screen and show the progress.
Any help here would be greatly appreaciated.
TIA Frank