News Feed

News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way
Monitoring File Uploads using Ajax and PHP
January 11, 2008 @ 08:45:00

On the site today there's a new tutorial posted covering an alternate method for uploading files - using Ajax to help monitor the progress of the file upload.

In this article we will develop a solution that will allow users to upload a file from their computer using HTML forms. We will then determine the progress of the upload while it is in progress using Ajax, and display the status to the user.

They chose the prototype library and the APC extension for PHP to make their code work. The basic idea is, through a feature of APC, the script can receive a progress measurement back from the server. This is handed off to the Javascript (Ajax) functionality that then updates the progress meter to reflect the change.

1 comment voice your opinion now!
monitor file upload ajax apc extension prototype tutorial monitor file upload ajax apc extension prototype tutorial

blog comments powered by Disqus

Similar Posts 3 Ways to Speed up Your Site with PHP

Zend Developer Zone: Implementing the Observer Pattern with SplObserver and SplSubject

Alex Bilbie's Blog: MongoDB + CodeIgniter 101 (Part 1)

Zend Developer Zone: How to avoid Identity Theft in Zend Framework with Zend Auth Key/value tables and how to use them in PHP and MySQL

Community Events

Don't see your event here?
Let us know!

api community version bugfix library update package podcast opinion symfony zendserver language release framework interview series unittest introduction deployment laravel

All content copyright, 2014 :: - Powered by the Solar PHP Framework