PHP Loading Time with Activity indication
Tuesday, November 18th, 2008This is a simply way to show activity while loading, or pausing a site.
This method will output a “.” every second for the designated time. This method uses flush(); to output the current string while we’re inside the for loop.
This can be used to load files within the loop and out put a activity indicator, or pause the site and allow ads to be displayed for a few seconds before proceeding.
