|
Posted by petersprc on 10/22/63 11:59
Try the ignore_user_abort function. For example:
ignore_user_abort(true); // Continue executing if disconnected
set_time_limit(86400); // 24 hour limit
duzhidian@gmail.com wrote:
> Hello All,
>
> I am using Linux, php and mysql.
>
> When I run my script, it will take a very long time. I find when users
> close their browsers, my script stops either.
> What I want to do is let the script continue running and send an email
> at to them.
>
> How can I successfully do that even if users close their browsers?
>
> Thanks.
>
> Z. D.
Navigation:
[Reply to this message]
|