harrystays / PHP5.4-Session-Upload-Progress-Bar

:dolphin: Tutorial - PHP 5.4 Session Upload Progress Bar

Home Page:http://github.com/pH-7/PHP5.4-Session-Upload-Progress-Bar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP 5.4 - File Upload Progress Bar

This is an example how to create a progress bar using PHP 5.4 to calculate the progress of a file being downloaded.

I also used the jQuery framework to query AJAX to know the percentage of the progress in real time.

Finally, if you want more info concerning this PHP feature, you can visit the official PHP website or check my French ebook here.

Example of the progress bar

Server Requirements

PHP 5.4.0 or higher.


Pierre-Henry Soria


By email at: pierrehenrysoria {{AT}} gmail {{D0T}} com or at: ph7software {{AT}} gmail {{D0T}} com


This source code is under the license Creative Commons Attribution 3.0 or later; See the LICENSE.txt file.


:dolphin: Tutorial - PHP 5.4 Session Upload Progress Bar




Language:PHP 51.3%Language:CSS 41.7%Language:JavaScript 7.1%