How can I display success page, while running long PHP script in background that requires POST Data?

62 Views Asked by At

I have a long running php script that requires $_POST data from the user. I would like the use to be able to submit the data and get a "Successfully started" page. However, after I show the user that page I still want to run a PHP script in the background that will take a while. Any thoughts on how to do this?

Forking, multiprocessing, calling external script? Keep in mind I need to submit the $_POST data to the long running script.

0

There are 0 best solutions below