/Progress-Bar-using-PHP-and-Ajax

A working example of using long polling with PHP and AJAX

Primary LanguagePHP

Progress-Bar-using-PHP-and-Ajax

#####A example to demonstrate Long Polling using PHP and AJAX.

##Usage

  1. Download and copy this project to your webroot directory.
  2. Rename the folder to progressbar.
  3. Go to progressbar/ in your browser.
  4. The browser shows progressbar filled by 58%.
  5. Edit progressbar/server/progress.txt in text editor.
  6. See the changes in the browser as soon as you save the progress.txt file.
  7. The code is well documented. Read it to understand the working.