Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ignore_user_abort(true); // Continue running the script even when the client aborts/disconnects
- ob_flush();
- flush(); // Clean PHP's output buffer
- usleep(500000);
- echo "0rnrn";
- ob_flush(); // Clean output buffer
- flush(); // Clean PHP's output buffer
- if(connection_aborted() != 0) {
- //do something
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement