News Feed
Jobs Feed
Sections

Recent Jobs

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.

2 comments voice your opinion now!
monitor file upload ajax apc extension prototype tutorial monitor file upload ajax apc extension prototype tutorial





Similar Posts

ZD Net Asia: Keep your options open with FTP file uploads

Zend Developer Zone: Flex and PHP: Party in the Front, Business in the Back

AnyExample.com: PHP AJAX example: asynchronous file upload

Michael Kimsal's Blog: Why do browsers still not have file upload progress meters?

Antony Dovgal's Blog: PECL/sphinx - fast fulltext search made easy


Community Events







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


job releases book conference package ajax application code framework cakephp PHP5 PEAR database release mysql security developer example zend zendframework

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