For a process that takes a long time, I usually break the user interaction
& the processing apart.
For instance, when the user makes a submission from the browser interface,
the PHP takes the submitted data and stores it someplace on the file
system or in a database. This being a quick operation
What if you were to trigger a hit to the script that actually does
the processing in the background with cURL, and give it a 2 second
timeout?
PHP tells cURL to hit the processing PHP script, cURL hits the
processing PHP script, cURL returns 2 seconds later but cURL's abort
is ignored by the p
2 matches
Mail list logo