I am developing a simple application which will allow me to migrate emails from one IMAP server to another.
Although the script works - it may be the case that some IMAP Mailboxes are very large, and the script is running for a long time. I know that I can set the time limit of my script to never end using : set_time_limit(0)
However ideally I would like to be able to set it to start and be able to view the webpage later and see if it is still running or finished. Is there a way of starting a process and then coming back to view that same process?
I'm not really sure of the right terminology to when asking a question like this, so I hope I have made myself clear :)
EDIT: I've just seen the function ignore_user_abort()
but I'm not sure how this will allow me to come back to the same page and see if the process is still running, stopped due to an error, or whether it has finished.