News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPRiot.com:
Monitoring File Uploads using Ajax and PHP
January 11, 2008 @ 08:45:00

On the PHPRiot.com 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

Bertrand Mansion's Blog: PHP with Itnl and Gettext on OSX Lion

PHPMaster.com: Understanding the Observer Pattern

Kenny Katzgrau's Blog: Enable Site-Wide Profiling With CodeIgniter

Brandon Savage's Blog: Peer Review: You Have Not Because You Ask Not (Requests & Responses)

Zend Developer Zone: Dynamically Creating Graphs and Charts with PHP and GDChart


Community Events











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


composer overview example application symfony2 security component framework introduction hack package podcast hhvm facebook install release language unittest opinion code

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework