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

AnyExample.com:
PHP AJAX example asynchronous file upload
December 05, 2006 @ 14:23:54

As mentioned by the Zend Developer Zone, there's a new tutorial over on the AnyExample.com website that shows how to get up and working with a PHP+Ajax connection in no time flat. The goal? To handle a file upload asynchronously from the user.

This article contains example application (trivial file-sharing service, like rapidshare, megaupload or yousendit) which uses embedded frames (IFRAME) to upload file. While file is uploaded to hidden frame, user can still access web-page and fill "file description" field.

They talk briefly about the PHP functions that will be used in the tutorial and the concept of using IFRAMEs to handle the content coming in (without reloading the page). The rest of the article is a code dump showing the pieces of (procedural) code to get the job done. There's some commenting, but if you're a new coder to PHP, you might want to check out the main PHP site for some more information on the functions used.

0 comments voice your opinion now!
ajax tutorial asynchronous file upload iframe ajax tutorial asynchronous file upload iframe


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Integrating Polymer/Dart and Symfony Part 2

Ralph Schindler's Blog: Compiling Gearman (or anything) for Zend Server CE on Snow Leopard

Gonzalo Ayuso: Dependency Injection Containers with PHP. When Pimple is not enough.

Evan Coury: Creating a simple view helper in Zend Framework 2

ServerGrove Blog: Spooling emails with Symfony2 on VPS and Shared Hosting


Community Events











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


unittest hhvm application database package opinion release composer security support performance hack component podcast install language introduction facebook symfony2 framework

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