Page 1 of 1
PHP DOM API
Posted: Sun Jul 02, 2006 5:13 am
by barry_normal
Hello, and apologies in advance for probably putting this question in the wrong place.
I want to use PHP's XML-parsing capabilities on my shared-server hosting at media temple. The problem I have is: How do I enable/install/configure PHP to be able too use the DOM API? Is it something to do with libxml2?
Support at MT just said I probably needed to upgrade or something (their words) so were effectively no help at all.
If anyone has any ideas or can point me to a tutorial on this I'd be immensely grateful.
All the best
Barry
Posted: Sun Jul 02, 2006 10:12 am
by RobertGonzalez
XML Parsing should be enabled by default. At least
that is what the PHP manual says in the
Installation section.
Posted: Sun Jul 02, 2006 12:42 pm
by barry_normal
Thanks Everah,
For some reason it's magically started working now. Thanks for your help though.
B
Posted: Sun Jul 02, 2006 4:25 pm
by RobertGonzalez
I find a lot of things magically start working for me after I post here

. Something to consider... when working with XML stuff, the location of the XML, is it on the Internet or local? I was having a problem with an XML feed I was reading once. It wouldn't work no matter what I did. Then I find out the problem. I was testing it behind a proxy server that would not allow me to get it. When I changed machines, everything fell into place.
Posted: Sun Jul 02, 2006 5:02 pm
by barry_normal
Hi Everah,
I'm trying to build a little feed reader so it needs to feret the information out from whichever sites you choose and key words you enter. Much of that I then want to automate dependent on geography and what I want the news to look like.
php is a real godsend because I thought I was going to have to upgrade my whole hosting and do the thing in JSP. Still having a few teething toubles though so expect the odd stupid question!
Cheers
B
Posted: Mon Jul 03, 2006 12:39 am
by RobertGonzalez
Dude, hang around here long enough and you will see the same, beginner questions. Your question was not nearly as beginner as some others. Keep plugging along. You are in for the ride of your life.