Minor update:
Replace the code:
Code:
# Pad with 256 bytes for Internet Explorer to show output immediately.
for ($pad=0; $pad < 256; $pad++) echo "\t";
...with:
Code:
# Pad with 256 bytes for Internet Explorer to show output immediately.
if (strpos($_SERVER['HTTP_USER_AGENT'],'MSIE') !== false)
for ($pad=0; $pad < 256; $pad++) echo "\t"; echo "\n";