Some PHP applications need to perform actions that take a long time to execute. However, in many PHP environments it is not possible to execute tasks that exceed 30 seconds, which the PHP default script execution limit.
This package provides a work around to that limit. It provides means to split long tasks in many small steps, each one should not exceed the PHP script execution limit.
It uses AJAX to automatically send requests to the Web server to execute each task step and give progress feedback on the browser, until the whole task is done.
This package can be used to split the execution of long tasks in small steps implemented by requests short enough to not exceed the PHP script execution timeout.
It uses AJAX requests to invoke each execution step. The response of the execution of each step is used to update a section of the page where the progress feedback is displayed.
The class can execute steps of several types built-in actions like database queries, search for a pattern in a file and retrieve a file blocks or lines.
De curand m-am lovit de o problema in conceperea unui script php si anume “depasirea timpului de executie”, pentru care am gasit o solutie extraordinara pe phpclasses.org...