Jump to content

[SOLVED] domxml_open_mem undefined function


Captain_Pugwash

Recommended Posts

Hi Guys

 

new to this site adn have a major problem. The gist of it is that I make a call to MySql, retreive teh data I want and make up an xml string from the data. So far so good. then I collect an xsl style sheet so far so good. the idea is then to transform the xml string with the xsl style sheet. all works fine in Php 5, but the hosting server uses php 4. Initially I tried $DOMDoc->loadXML($xmlstr) now this as I say works fine in php 5 but has a serious wobble in php 4 so i tried domxml_open_mem($xmlstr) which I gather is the php4 equiv. All I get is a call to undefined function

 

If It helps I have run php info and curl and DOM/XML are both enabled so even if domxml_open_mem doesn't work it should stil be defined as a method of the original doc or have I missed something, very basic.

 

for fullness I would add php 4 is php4.4.4 running on an appache server 1.3.37 I hav checked the net generally and found this to be a problem, although no-one offers any sepcific solutions adn I did a seqarch on teh site,here but to without success. If you want teh code then let me know an will forward, although without the db it's unliekly to be of any benefit.

 

Thanks in advance this one has me beat

CP

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.