I noticed that this was a PHP enhancement added in PHP 5.4.
I also understand that this uses the SESSION status, and in order for it to appear, you will need some kind of Javscript to update the HTML. I believe javascript is launched by clicking the submit button. And the interval timer can be set to check progress.
All I want to do is update the HTML div file. (e.g. 25% ... 35%)
My understanding so far:
- You need a form with a hidden value
- This creates a SESSION of the VARIABLE on the name that has the information in
- You need to monitor the progress to get its status
Options
- Method 1: Use the ready-made, which you can find on the Internet. Little / Nothing is explained.
- Method 2: send the file to another php file and use JSinterval to check its progress.
- Method 3: Is there a way to do all this on one page?
source
share