Using PHP, I would like to make a while loop that reads a large file and sends the current line number when requested. Using Ajax, I\'d like to get the cur
The trick is to create a file (updated via Ajax) and use a setInterval to get its value, then update the progressbar.
setInterval