Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upload Progress Bar in PHP

Does anyone know how to get a progress bar for an upload in php? I am trying writing code for a photo album uploader. I would like a progress bar to display while the photos are uploading.

I am fairly new to php so I dont know everything about it.

like image 843
Josh Curren Avatar asked May 11 '09 17:05

Josh Curren


People also ask

Which PHP INI directive defines how often the session upload progress information should be updated?

upload_progress. min_freq INI options control how frequent the upload progress information should be recalculated.

What is Uploadprogress?

A PHP extension to track progress of a file upload, including details on the speed of the upload, estimated time remaining, and access to the contents of the file as it is being uploaded.


1 Answers

This is by far (after hours of googling and trying scripts) the simplest to set up and nicest uploader I've found

https://github.com/FineUploader/fine-uploader

It doesn't require APC or any other external PHP libraries, I can get file progress feedback on a shared host, and it claims to support html5 drag and drop (personally untested) and multiple file uploads.

like image 100
Jesse Avatar answered Oct 13 '22 06:10

Jesse