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:
AJAX and PHP Part 2 - XML Communication/Processing
June 29, 2007 @ 16:22:06

PHPBuilder.com has posted part two of their look at combining Ajax and PHP. They take things a step further than last time and look at the actual communication between the script and the server.

AJAX and PHP 5 both have powerful features for processing and using an XML document. XML is a method of formatting data often for communication purposes between different computer systems. In this article, we will show you how to access an XML document with AJAX!

They create a script that can load the XML information from a file and echo it back out to the waiting client script. They also include the other half - the client-side javascript that grabs the XML information, parses it, and pushed it into a javascript object for easy access.

1 comment voice your opinion now!
ajax xml communication process client server xmlhttprequest tutorial ajax xml communication process client server xmlhttprequest tutorial


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Hashing Passwords with the PHP 5.5 Password Hashing API

SpinDrop.us: Using Zend Search Lucene in a symfony app

Chris Jones: DTrace PHP Using Oracle Linux 'playground' Pre-Built Packages

Stefan Mischook's Blog: PHP Shopping Cart Tutorial

NetTuts.com: Relational Databases for Dummies


Community Events

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


symfony framework part2 php7 project composer programming opinion example list language introduction community interview api podcast yii2 application laravel series

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