Posted by Mike Willbanks on 05/23/05 17:34
shyren,
You should most likely move the register_shutdown_function to right
after the function kill_my_cpp_prog as so:
<?php
ignore_user_about(false);
function kill_my_cpp_prog() {
...
}
register_shutdown_function('kill_my_cpp_prog');
....
Because the way you have it now, it will not register the shutdown
function until the script completes.
Mike
[Back to original message]
|