performance - correct usage of ignore_user_abort in php -
i'm making script run in background ignore_user_abort make html form user can decide if wants run script in background or not. question is: ignore_user_abort work intended if define @ end of script? after process form sent user ? or has @ beginning of script?
ignore_user_abort's effect starts command placed.
=> should place around beginning of script.
otherwise should consider add set_time_limit(0); well.
Comments
Post a Comment