Created
January 31, 2014 07:49
-
-
Save amad/8728048 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Turn off output buffering | |
ini_set('output_buffering', 'off'); | |
// Turn off PHP output compression | |
ini_set('zlib.output_compression', false); | |
//Flush (send) the output buffer and turn off output buffering | |
while (@ob_end_flush()); | |
// Implicitly flush the buffer(s) | |
ini_set('implicit_flush', true); | |
ob_implicit_flush(true); | |
echo "add this"; | |
echo str_pad("",1024," "); | |
echo "<br />"; | |
ob_flush(); | |
flush(); | |
sleep(5); | |
echo "Program Output"; | |
ob_flush(); | |
flush(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment