News Feed
Jobs Feed
Sections




News Archive
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

PHPMaster.com: A First Look at React

Dennis Docter's Site: Zend Debugger Toolbar Extension for Chrome

AjaxRay.com: Extending Zend Form Element to create customized Phone number field

AnyExample.com: PHP AJAX example: asynchronous file upload

Rob Morgan: Getting Started With Phinx


Community Events











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


release opinion community conference development composer series example functional language object database framework zendframework2 code tool introduction testing podcast interview

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