PHP: how to stop ignore_user_abort, is it a good solution for long run program -
Assume that I've sent an e-mail program, which needs to run around 7 hours.
ignore_user_bort () Will this be a solution?
When all emails are present, the script will be closed
Some people said that you may need to add some output at the end of the program, will the program run forever?
And some people also said that a lit bit string will not stop the echoing script, but its use ob_flush, what is the example?
You do not want to run the same PHP process on your machine for only one seven hours. This probability will leak memory at all places. Break e-mail into sections and / or
, unexpected_gers_bort
only applies to PHP CLI.
Comments
Post a Comment