Well, yes and no…
First, you must remember to understand how PHP works. It is a SERVER-SIDE programming tool.
Browser’s work on your local machine and are CLIENT-SIDE only. Javascript and JQuery are handled
in the browser, so they are also CLIENT-SIDE tools.
What does that mean for a progress bar? Well, you enter data on your a form. Forms are inside
your browser, so they are CLIENT-SIDE. They are POSTED to the server. When the server gets an
order to handle your form info, if it is a PHP script, it first handles the PHP code. This outputs whatever
it does to a page which is then sent to the Browser. Then, in the browser, JS/JQ and CSS all take over
before you see the results.
Now, this means that a progress bar is handled CLIENT-SIDE. usually, it is with some sort of counter
that tracks how much of a file is sent so far. This would all be CLIENT-SIDE. Hope that makes sense.
To do this, there are literally thousands of ways to do it. Here are examples on sites that walk you thru it:
This one seems simple enough:
http://w3shaman.com/article/php-progress-bar-script
This one is very simple, uses JS and the second sample code uses no images, just simple CSS
for the graphics. A nice solution I think!
http://bytes.com/topic/javascript/insights/740574-extremely-simple-progress-bar
This one uses XML/JS/PHP/AJAX and is well behaved with some options:
http://www.sitepoint.com/tracking-upload-progress-with-php-and-javascript/
This one might be a bit complicated…
http://stackoverflow.com/questions/20453015/progress-bar-ajax-and-php
So, there are lots of solutions for you to study. Take your pick. Might select the second one if me…