I thought about using AJAX, but just wondered why the php solution wasn't working. There's nothing wrong with the code, it's just the browser differences.
If you pad about 1,000 space characters with some new lines or other characters first, it starts to flush the output for the other browsers.
No need for extra flush() or ob_flush(), and set_time_limit isn't necessary.
|