note 104541 added to features.connection-handling
| From: | pgl at yoyo dot org | Date: | Wed, 22 Jun 2011 10:09:08 +0000 |
| Subject: | note 104541 added to features.connection-handling | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-180834@lists.php.net to get a copy of this message | ||
If you just want a script that will instantly disconnect the browser and then continue processing,
this seems to work:
<?php
header("Content-Length: 0");
header("Connection: close");
flush();
// browser should disconnect at this point
?>
----
Server IP: 69.147.83.197
Probable Submitter: 188.39.44.187
----
Manual Page -- http://www.php.net/manual/en/features.connection-handling.php
Edit -- https://master.php.net/note/edit/104541
Del: integrated -- https://master.php.net/note/delete/104541/integrated
Del: useless -- https://master.php.net/note/delete/104541/useless
Del: bad code -- https://master.php.net/note/delete/104541/bad+code
Del: spam -- https://master.php.net/note/delete/104541/spam
Del: non-english -- https://master.php.net/note/delete/104541/non-english
Del: in docs -- https://master.php.net/note/delete/104541/in+docs
Del: other reasons-- https://master.php.net/note/delete/104541
Reject -- https://master.php.net/note/reject/104541
Search -- https://master.php.net/manage/user-notes.php