XML

Creating XML Documents in PHP

There's lots of reasons why you'd want to make XML documents using PHP. Maybe you're writing your own RSS feed or implementing a REST service. Whatever the...

0 replies - 5470 views - 01/23/09 by Charlie Key in News

Implementing ArrayAccess for Easy Array Usage

This past week, I was using PHP’s DOMDocument class to work with some XML generation. It’s pretty similar to Javascript’s DOM manipulation. The XML I...

0 replies - 1907 views - 10/27/08 by mcarthurgfx in News

A small SimpleXML gotcha (with namespaces)

I've so far worked only very little with XML with namespaces, especially in terms of parsing it. Therefor, I was quite stumped today on the parsing of a...

0 replies - 1704 views - 05/30/08 by Stefan Koopmanschap in Articles

Watch Your POST: Save PHP POST Data as XML

One of my main goals when creating PHP web forms is to keep them secure and protected from spammers and automated bots. With the amount of spam that Akismet...

5 replies - 5564 views - 03/25/08 by David Walsh in News