QUOTE(spearfish @ 30 May, 2008 - 04:53 PM)

Hi guys,
I've got the basics of PHP down, now I'm into the more difficult stuff. How do I parse XML? Right now, I'm working on a modification for Simple Machines Forums that will block registration if an IP or Email address is that of a known spambot.
Essentially, I need to find a way to get the information from this URL:
http://www.stopforumspam.com/api?ip=91.186.18.61(Just an example IP)
Which outputs this XML:
xml
<response success="true">
<type>ip</type>
<appears>yes</appears>
<lastseen>2008-05-14 15:59:55</lastseen>
<frequency>9</frequency>
</response>
Then, I need to check if "appears" is set to "yes".
How would I go about doing this in PHP?
You would have to create a new parser object and use the various parsing functions to get to your 'appears' node. There's a great tutorial on beginning parsing
here. Also, for a complete list of the xml parsing functions in php you can visit php.net's page
here.
Let me know if you need some more help after reading those.