Updating a progress bar during php scripts

Posted by / 07-Nov-2019 02:05

Updating a progress bar during php scripts

Live Demo Download Source At first we need to create a simple file upload form.

But we need to do some modification with our file upload form and our php script to handle multiple files.

If you ask an average web-developer if it's possible to make a running progress bar on the web-page while it's loading(! This is understandable as practically all web-pages do not exhibit such progress bars and are in a sense "static" - the whole web-site is dynamically generated from a database, but each page is static except for AJAX changes due to user actions.

Here I will show how a lengthy PHP process can show a running progress bar while the page is loading.

/* when the submit button is clicked we will hide the message div.

get the input provided by user and start processing.

updating a progress bar during php scripts-82updating a progress bar during php scripts-64updating a progress bar during php scripts-2

One thought on “updating a progress bar during php scripts”

  1. Paramount is such a “girly appreciated” word—let me translate to manglish: This guy is making a HUGE mistake in his profile: “Attraction Killer” Red Flag #4… Discover YOUR #1 dating profile “attraction killer” & how to fix it… Have you ever seen it in a movie when a hot actor has to reveal his naked ass? Oh, and I’m in the fitness biz, as well as back in school finishing up my pre-med reqs. You should message me if you are: Sexy, smart, fit and fun. We like to feel protected by a strong man that will bring home the bacon and make sure we don’t get eaten by dinosaurs. I do have a bone to pick with his profile, well a few bones. From all of the other profiles listed, this guy was a “regular Joe” with average looks, but his sense of confidence in what he knew he was looking for in a gal; along with the great many adventures he had been on, gave him a “knight-in-shinning-armor-returning-from-slaying-a-dragon” appeal. YESSSS, you know what I am about to fill you in on. This guy has a zest for life and is all about positive energy, so much so, that when you read his profile, it puts you in a good mood. From all the profiles listed here, this guy was the one with the supermodel looks but his profile reads like someone that isn’t aware of how good looking he is.