SimpleXML in PHP5 is simply incredible
Oct 1, 2008 SEO
I’m not 100% sure if it was version 5 of PHP where XMl support was added but it’s a beautiful thing. Now with a minimum amount of code I’m able to efficiently parse through a XML feed without any trouble. Before XML support was added I would have to write a few more lines of code using cURL. Will I abandon cURL, heck naw, cURL is like the Swiss army knife of functions, when all fails you can always rely on curl.
I’m adding a small snippet of code to the Blog Joe Blog Tools page, feel free to chop it up and use as needed. Use your imagination there’s probably a gang you can pull off using this function.
See the wiki page they have some good examples also.
http://wiki.dreamhost.com/CURL_PHP_tutorial



