![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 2 Pomógł: 0 Dołączył: 26.06.2008 Ostrzeżenie: (0%) ![]() ![]() |
Mam WebServ z php 5.2.5
Problem jest z funkcjami: - remove_child() - domxml_open_file() i ogólnie z DOM XML, Pojawia się komunikat "Call to undefined function domxml_open_file()". Czy da się coś zrobić aby to chodziło w php5 (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif) ? W manualu jest że funkcje działają w php4 >= czyli w php5 powinno być wszytko ok (IMG:http://forum.php.pl/style_emoticons/default/sadsmiley02.gif) (IMG:http://forum.php.pl/style_emoticons/default/sadsmiley02.gif) (IMG:http://forum.php.pl/style_emoticons/default/sadsmiley02.gif) $xml = simplexml_load_file('plik2.xml'); // ładowanie w konwersja w simpleXML działa $dom2 = dom_import_simplexml($xml); $dom1 = simplexml_import_dom($dom2); $dom3 = domxml_open_file('plik2.xml'); // a z tego nic zupełnie (IMG:http://forum.php.pl/style_emoticons/default/sadsmiley02.gif) (IMG:http://forum.php.pl/style_emoticons/default/blinksmiley.gif) (IMG:http://forum.php.pl/style_emoticons/default/sadsmiley02.gif) $dom2->remove_child($item[1]); $dom1->saveXML('plik2.xml'); |
|
|
![]() ![]() |
![]() |
Aktualny czas: 11.10.2025 - 03:55 |