Running PHP batch scripts through web link with status updates
<p>I have a process defined in a batch file that runs 3 php scripts, one after another in sequence, and I want to create a web front-end for the process. The process is triggered when someone uploads a file using a webform.</p>

<p>I want the ability to notify the user after each script in the batch file is run with some useful messages, but I am not quite sure what the right way to go about is.</p>

<p>I am thinking in terms of javascript that sends request to the 3 php files in sequence, with the php scripts echoing the status messages as they are executed. But I would rather have the three files executed in a single trigger from the client instead of having javascript calling the the three scripts separately.</p>

<p>Any ideas whats the best way to go about it? </p>
