I am executing an ajax script to upload files and the PHP file that those the upload not only uploads but also executes MySQL queries.
My question is: is it possible to have a progress bar not only for the file upload but for the entire script? If possible with separated messages for each "Step" inside the php file.
Example (upload.php):
#Step 1
$message = "uploading file";
#Step 2
$message = "Creating Thumbnail";
#Step 3
$message = "Add to Database";