Helping ordinary people create extraordinary websites!
HOME TUTORIALS SCRIPTS WEB HOSTING BLOG FORUM
Get Our Newsletter
Email:

Parsing XML using PHP4

By Burhan Khalid
2005-08-16


Parsing XML using PHP4

This tutorial will explain how to parse (that is, read and interpret) information from a XML file using PHP. I will discuss the very basics of XML (mainly structure), and then jump right in to the reading and parsing of XML files. This is not a tutorial on XML itself, just parsing XML with PHP.

First, the pre-requisites. Stuff you will need to ensure you have running.

  • Web server with PHP installed. No special extensions are needed for this tutorial.
  • Ability to save files on the webserver (either upload, or save directly via FTP)
  • A decent text editor. Preferrably one that has syntax highlighting support for PHP


Tutorial Pages:
» Parsing XML using PHP4
» XML File Structure
» Creating our XML File
» Parsing with PHP
» Creating our Parser
» Setting up tag handlers
» Setting up content (data) handlers
» Starting up the parser
» Creating the gallery


© 2004-2005 Burhan Khalid


 | Bookmark
Related Tutorials:
» Zend Framework Tutorial
» Port Scanning and Service Status Checking in PHP
» Web Database Access from Desktop Applications
» CubeCart 3.0 Installation and Configuration
» PHP Site Search Made Easy
» Installing and Configuring Drupal 6.1

Ask A Question
characters left.