News Feed
Sections




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

PHPBuilder.com:
Transferring Huge XML Documents in PHP with an Ajax-driven Web Interface
August 11, 2010 @ 09:15:20

On PHPBuilder.com there's a new tutorial posted about combining PHP and Ajax to move large XML data around via a web interface.

A simple way to transfer XML documents onto a server is to use an Ajax-driven Web interface to upload the files. However, this approach won't work for huge XML files because Ajax doesn't support uploading of files that large. In this article you will learn an innovative solution for transferring huge XML documents on the server via a Web interface using Ajax and the GET method.

Their method takes the XML and puts it in a string then breaks it up into chunks to make it easier to transport. These chunks are then sent via an Ajax request and pushed into an XML file. Full code is included for the tool and a few screenshots of their example in action.

0 comments voice your opinion now!
transfer xml file ajax interface tutorial


blog comments powered by Disqus

Similar Posts

PHPMaster.com: An Introduction to Dependency Injection, Service Locators & Factories (Part 1)

PHPBuilder.com: Beginning Ajax with PHP: From Novice to Professional

Michael Girouard's Blog: One Step Closer to an Abstract Singleton

Brandon Savage: Publishing messages to RabbitMQ with PHP

Cory Borrow's Blog: Creating thumbs from textfiles with PHP and GD


Community Events





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


list series unittest symfony2 opinion api framework laravel testing code podcast interview introduction install release threedevsandamaybe refactor community language developer

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