PerlTrumpsPhp
Programmer
That's the easy question- how can I get my CGI script to launch another CGI script?
The tough part is- it CANNOT wait until the 2nd script gets done loading. I need a way to execute my long-loading-often-browser-time-outting script on the serverside without the user having to wait for their browser to finish.
If you are familiar with CPANEL backups, that's EXACTLY what I want to do. Set the script up, let them know they'll get an email when it's done, and kindly exit the script while launching the other one. Then an hour or so later email them when the script is done.
I tried exec, eval and do. All of which WAIT until the 2nd script finishes.
The tough part is- it CANNOT wait until the 2nd script gets done loading. I need a way to execute my long-loading-often-browser-time-outting script on the serverside without the user having to wait for their browser to finish.
If you are familiar with CPANEL backups, that's EXACTLY what I want to do. Set the script up, let them know they'll get an email when it's done, and kindly exit the script while launching the other one. Then an hour or so later email them when the script is done.
I tried exec, eval and do. All of which WAIT until the 2nd script finishes.