PHP XML Web Services tutorials
This tutorial will demonstrate the use of DOM extension in PHP to read contents of a XML file.
Related Tutorials
PHP and DOM: The Way of the Widget
This article looks at the DOM extension and how it can be used to read and generate XML, providing new solutions for web page generation.
DOM XML: An Alternative to Expat
There are many xml tutorials for php on the web, but few show how to parse xml using DOM. I would like to take this opportunity to show there is an alternative to the widespread SAX implementation for php programmers.
XML and PHP Simplified: The DOM
In this article, we will take a further look at the XML functions that are offered by PHP5. At the same time, we will also look at some of the other DOM functions that deal with the Document Object Model.
XML and PHP Simplified
J. Leidago Noabeb simplifies and demystifies the use and application of XML and the DOM.
XML and PHP Simplified - Formatting XML Documents
Part 3 of this series covers how to format XML documents in web browsers and how to parse or read them using PHP strings and functions.
Use phpdomxml to create a Guestook in Flash
In this tutorial we will see how to create and manage a simple Guestbook using an XML formatted file (with a simple XSL style-sheet). To do that we will create and parse the XML structure using an open source library for PHP which allow us to threat XML with DOM.
XML and PHP Simplified - XML,PHP and the Database
J. Leidago Noabeb explores the relationship between XML,PHP and MYSQL including a brief look at the Document Object Model.
Display Random Dynamic Content with PHP and XML
Every developer, at one point in time, will run into a situation where they need to display a small amount of dynamic data. Why create a whole database? Enter the magical world of XML. XML is easily manageable by anyone who has ever even dabbled a bit in HTML, so understanding should come easily just by looking at an XML file. PHP has classes already set up to parse XML. Here you\ll learn how to use PHP and XML to randomly generate HTML content.
Using XML and JSP together
Unfortunately, PHP 4's XML support was somewhat limited. Some extensions did not prove to be very stable. This changed drastically with PHP 5 and a revamped XML support. Therefore, the main focus of this chapter is on PHP 4. In PHP 5.1, some new features will be added that are already covered in this chapter.
PHP and XML: using expat functions
This tutorial shows how to parse XML documents in PHP. It walks you through a fairly simple application of XML that you can use to implement a news system for your home page.
Parsing XML using PHP
Parsing XML is a very common task when programming for the web. This article will show you how to use the eZ xml parser to handle XML documents.
PHP and XML
In this tutorial we'll go thru the possibilities of an XML manipulation by the PHP. We'll also take a look at explanatory source code of fully working mini RSS feed reader.
Processing XML with PHP
In this tutorial you will learn the basics of using PHP to interpret XML.
XML processing with PHP
XML is Extensible Markup Language. It is a markup language - much like HTML - and was designed to describe data. XML uses tags but these tags are not predefined as in HTML. In XML you define your own tags. All XML documents have 3 types of components: Elements, attributes and data.
Parsing XML With PHP
This article will present the concept of XML parsing using the PHP scripting language.
Xml xpath traversal using simplexml php extension
The SimpleXML php extension provides a very simple and easily usable toolset to convert XML to an object that can be processed with normal property selectors and array iterators.
Working with Directories
As is necessary for any language, PHP has a complete set of directory support functions. PHP gives you a variety of functions to read and manipulate directories and directory entries. Like other file-related parts of PHP, the functions are similar to the C functions that accomplish the same tasks, with some simplifications. This tutorial describes how PHP handles directories. You will look at how to create, remove, and read them.
Find all anchor tags in a page with Simple HTML DOM Parser
This post shows how to download a web page and find all the link anchor tags in the page using PHP and the Simple HTML DOM Parser which has a jQuery like syntax selector.
Transforming XML with XSLT and PHP
In this tutorial we will use XSLT to transform an XML document into an HTML document and use PHP's XSLT functions to apply those rules.
Introduction to PHP
Are you ready to become a PHP web developer? Are you ready to spend few hours and to get in touch with PHP? If you are then read the rest of this tutorial and you will not regret.
Displaying RSS Feeds on your Website Using PHP
RSS stands for Really Simple Syndication. RSS if a technology for distributing data from one site to another using XML. You can easily decode this XML stream and display the information contained in it on your web site.
Parse RSS/XML with PGP
Learn how to parse a RSS + XML document with PHP.
Reading Files in PHP
In this section we are going to cover how to open and read file content in PHP.
Get info from XML file
I'm going to show you what you can do with SimpleXML in PHP and how to get info from XML file.
Transforming XML with XSL using Sablotron
This article in explaining how to parse XML documents using XSLT (eXtensible Stylesheet Language Transformations). XSLT is a language for transforming XML documents into other XML documents or HTML documents. I will not discuss XML, XSL or XSLT syntax in this article, for a good introduction to these please refer to the links at the end of this article.The focus of this article is on how to transform XML documents with XSLT using the Sablotron XSLT processor.
PHP/MySQL RSS Feed
Setup your own RSS feed that pulls data from your PHP/MySQL-driven web site. Use PHP to create the XML/RSS document RSS Readers require to inform visitors of your web site database's content updates.
PHP/MySQL RSS Feed
Setup your own RSS feed that pulls data from your PHP/MySQL-driven web site. Use PHP to create the XML/RSS document RSS Readers require to inform visitors of your web site database's content updates. The tutorial is available in PDF format.
PHP Sessions
Have you ever seen member systems, or did you read the little introduction to MySQL with PHP tutorial on this site? If you have, then you must be wondering how all the user data is carried from page to page.
Introduction to XML and Web Services
The Extensible Markup Language (XML) is a simple, platform-independent standard for describing data within a structured format. XML is not a language but instead a metalanguage that allows you to create markup languages.
Debugging PHP: Did You Remember to
So you've finally managed to install PHP. Anxious to use your new tool, you find the print function in the manual, write your own hello world, load the page and the dreaded "Parse error: parse error in /usr/local/apache/htdocs/test.php on line 2" error pops up in front of you. You know the scenario, read on to learn the fixes....
Retrieving XML With cURL And SimpleXML
This tutorial explains how to use Curl and SimpleXML SimpleXML is a php5 extension used to parse XML data. Topics covered include loading XML documents, parsing nodes & attributes, and filtering data with XPath statements.
How to Write a PHP Script to Send a Trackback
Creating a php script to send a trackback HTTP request to a blog, read the response, and let the user know whether or not the trackback was successful.
Introduction to SQLite
Many people have heard of SQLite but not many people have used it in their PHP applications. Most PHP applications make use of the MySQL database engine to store information however this is not always needed for small amounts of data. In these cases, web applications often store their data in a "flat file" format, often just a plain text file or an XML file. Both of these methods have their downsides.
Reading INI files with PHP
Read INI files using PHP.
A HOWTO on Optimizing PHP
PHP is a very fast programming language, but there is more to optimizing PHP than just speed of code execution. In this chapter, we explain why optimizing PHP involves many factors which are not code related, and why tuning PHP requires an understanding of how PHP performs in relation to all the other subsystems on your server, and then identifying bottlenecks caused by these subsystems and fixing them. We also cover how to tune and optimize your PHP scripts so they run even faster.
What is PHP and Why Should I Care?
One of the first things most people want to know about PHP is what the initials stand for. Then they wish they had never asked. Officially, PHP stands for PHP: Hypertext Preprocessor.
What is PHP?
What is PHP, and what can you do with it? This gentle PHP introduction explains the basics of PHP and looks at how you can use it to build feature-rich Web pages and applications.
PHP Basics
In this tutorial, i will teach you how to make a basic php program.. Mainly how to print output from a php script... I hope you will enjoy using PHP as much as i have, and that you will NEVER use ASP again (if you ever have).
Read news from MySQL
Managing MySQL data with PHP and use them in a simple Flash MX application.
Reading from a file
We can use the fread function to read from a file in PHP .
 
Categories