Undefined PHP function?

software development

#1

Hi, I’d like to know what’s wrong when the site says this:

“Call to undefined function domxml_open_file()”

THis is the line of code causing the error:

“$doc = domxml_open_file(“files/Yggdra/guide/xml/” . $_GET[‘bf’] . “.xml”) or die(“Couldn’t open file.”);”

I’m new to PHP so I don’t understand. Please help.


#2

The DOM XML extension has not been bundled with PHP since version 5.0. PHP5 uses DOM instead. Check to see which PHP version you are using, because PHP5 has been the default for a while.


si-blog | Keystone Websites
Save $97 on yearly plans with promo code [color=#CC0000]SCJESSEY97[/color]