Right on the heels of the PHPComplete article, one comes to us from Evolt.org. Their latest tutorial shows you how you can work with XML and PHP even if your shared hosting server doesn't have the needed things compiled into it.
Using XML with PHP without any apache changes shows you how to say yes to XML when the admin says "no".
The end of the road? Not really, there's a very quick and dirty way how to use XML to generate your pages, by using two really easy PHP functions and some clever HTML. This solution has some drawbacks, which will be explained, at the end of this article. However, with a bit of clever XML structure, you can do a lot without getting your head around XPATH, XSLT and server administration.
They give you some great blocks of code to get this one done, and make it nice and simple for you to get it working with your hosting platform. While it's not "true XML parsing" and all, it's pretty close and will get you about the same results as a simple XML parser would provide.




