Associate
Since making my original thread I've tried several ways of achieving my goal and can't get it to work, so I'm wondering what other methods you guys might suggest.
Assume a php process which takes 45+ seconds to run, maybe more.
We want to launch this process on the web server, from a browser, somehow.
We also want the browser to be updated with the progress of the process (it's scanning other sites so overall time will vary with each execution) so the client isn't left sat staring at an empty page and so the browser itself doesn't timeout.
How would you do it?
Things that don't work
1. I have permission to exec() but can't invoke php scripts via it, for some odd reason
2. Firing the request to start the scan via ajax, and then requesting the progress update(s) via ajax, doesn't work in internet exploder because it won't do anything else net related while it's waiting for the first (45+ seconds) script to return
Assume a php process which takes 45+ seconds to run, maybe more.
We want to launch this process on the web server, from a browser, somehow.
We also want the browser to be updated with the progress of the process (it's scanning other sites so overall time will vary with each execution) so the client isn't left sat staring at an empty page and so the browser itself doesn't timeout.
How would you do it?
Things that don't work
1. I have permission to exec() but can't invoke php scripts via it, for some odd reason
2. Firing the request to start the scan via ajax, and then requesting the progress update(s) via ajax, doesn't work in internet exploder because it won't do anything else net related while it's waiting for the first (45+ seconds) script to return