How to make PHP script execution wait for function to finish (and not trigger timeout)?
Posted on 2014-10-08
how can I make PHP script wait for function to finish? - With "wait" I mean "not trigger timeout".
I have site backup function that will zip entire site contents, and given amount of stuff to zip, it could take a while. I would like the script execution to wait patiently until the function has returned success (TRUE).
I understand that I would need to also alter ZIP function, however I am not sure how to achieve any of the two.