Created
September 3, 2014 09:53
-
-
Save pomaxa/e89cf8830e9151b03089 to your computer and use it in GitHub Desktop.
send request to client browser and proceed with some work.
This file contains 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
ob_end_clean(); | |
header("Connection: close"); | |
ignore_user_abort(true); | |
ob_start(); | |
echo "THIS IS SPARTA"; | |
$size = ob_get_length(); | |
header("Content-Length: $size"); | |
ob_end_flush(); | |
flush(); | |
session_write_close(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment