title: Javascript popup to show file content while php is loading
body: <p>How to code javascript to open a popup box and update and display particular file content from local machine repeatedly(since file contents gets keep on change after some time) until php finishes loading.
  If PHP finishes loading , the popup has to disappear automatically and redirect to another page.</p>