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
PHP DOM API
Moderator: General Moderators
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
XML Parsing should be enabled by default. At least that is what the PHP manual says in the Installation section.
-
barry_normal
- Forum Newbie
- Posts: 21
- Joined: Sun Jul 02, 2006 5:02 am
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
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.
-
barry_normal
- Forum Newbie
- Posts: 21
- Joined: Sun Jul 02, 2006 5:02 am
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
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
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA