note 79649 added to function.apache-child-terminate
| From: | admin at hostultra dot com | Date: | Thu, 06 Dec 2007 16:43:11 +0000 |
| Subject: | note 79649 added to function.apache-child-terminate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-132895@lists.php.net to get a copy of this message | ||
this code will add apache_child_terminate() function if it is not already present.
if (!function_exists("apache_child_terminate")){
function apache_child_terminate(){
register_shutdown_function("killonexit");
}
function killonexit(){
@exec("kill ".getmypid());
}
}
----
Server IP: 193.95.141.37
Probable Submitter: 84.203.44.239
----
Manual Page -- http://www.php.net/manual/en/function.apache-child-terminate.php
Edit -- https://master.php.net/note/edit/79649
Del: integrated -- https://master.php.net/note/delete/79649/integrated
Del: useless -- https://master.php.net/note/delete/79649/useless
Del: bad code -- https://master.php.net/note/delete/79649/bad+code
Del: spam -- https://master.php.net/note/delete/79649/spam
Del: non-english -- https://master.php.net/note/delete/79649/non-english
Del: in docs -- https://master.php.net/note/delete/79649/in+docs
Del: other reasons-- https://master.php.net/note/delete/79649
Reject -- https://master.php.net/note/reject/79649
Search -- https://master.php.net/manage/user-notes.php