PHP: how to stop ignore_user_abort, is it a good solution for long run program
- by user192344
let say i have send email program which need to run arround 7 hours. but
i cant open the browser for 7 hours
beside cronjob,
ignore_user_abort() will it be a solution?
will the script stop when all email has sent and the program has finish the loop?
or it will keep eating the server memory?
some people said u may need to add some output at the end of the program to avoid the program run forever?
and some people also said echo a litte bit string will not stop the script, but has to use ob_flush, any example for this?