i realize this is an "experimental" extension but here's my problem:
I'm building a server side xml editor and the file that overwrites the xml file on the server uses this code:
<?php
$month = $_GET['month'];
$day = $_GET['day'];
$year = $_GET['year'];
$id = $year+$month+$day;
$time = $_GET['time'];
$place = $_GET['place'];
$citystate = $_GET['citystate'];
$notes = $_GET['notes'];
$xml = join('',file('showsInfo.xml'));
$dom = domxml_open_mem($xml);
$elements = $dom->get_elements_by_tagname('show');
$parent = $lastElement->parent_node();
$childNode = $xml->create_element('show');
$childNode->set_attribute('id',$id);
$childNode->set_attribute('year',$year);
$childNode->set_attribute('month',$month);
$childNode->set_attribute('day',$day);
$childNode->set_attribute('time',$time);
$childNode->set_attribute('place',$place);
$childNode->set_attribute('citystate',$citystate);
$childNode->set_attribute('notes',$notes);
$parent->append_child($childNode);
$xmldata = $dom->dump_mem();
$fp = fopen('showsInfo.xml','wb');
fwrite($fp, $xmldata);
fclose($fp);
?>
when this file is executed, i receive the following error:
"Fatal error: Call to undefined function: domxml_open_mem() in /hsphere/local/home/ultrablu/ultrabluemusic.com/test/xml/showsSave.php on line 13"
i'm running on php version 4.3.10
you can check all of my version info at http://web5.opentransfer.com/phpinfo.php
from what i've read, this function is enabled on this version, anyone have any suggestions? thanks
Al