PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 17th, 2002, 02:17 AM
Niks15 Niks15 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: Kiev, Ukraine
Posts: 1 Niks15 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Niks15
Question Problem with DOMXML PHP4.0.4pl1 under W2k

I have PHP4.0.4pl1 under Win2000.

When I am runing this script (example from this site)

<?php
$theXML = "<?xml version='1.0'?>";
$theXML .= " <website><url>";
$theXML .= " URL";
$theXML .= " </url></website>";

$xmlDoc = xmldoc($theXML);
$root = $xmlDoc->root();

$node = array_shift($root->children());
echo $node->content;
?>

PHP is returning me following error message.

Fatal error: Call to undefined function: xmldoc() in f:\usr\www\xml3.php3 on line 8

What am I doing no correct?
Support of domxml is established.

Help me please.
Thanks to All!

Reply With Quote
  #2  
Old February 17th, 2003, 10:06 PM
amorn_ty amorn_ty is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 2 amorn_ty User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
you must be config your webserver to support

./configure' '--with-mysql' '--with-apxs2=/var/www/apache2/bin/apxs' '--enable-xslt' '--with-xslt-sablot=/usr/local/sablot' '--with-dom=/usr/local/libxml' '--with-zlib' '--with-expat-dir=/usr/local/expat' '--with-curl' '--with-zlib' '--with-oci8=/usr/local/oracle' '--enable-bcmath' '--enable-calendar' '--with-gettext' '--enable-inline-optimization' '--with-tsrm-pthreads'

before to use it

Reply With Quote
  #3  
Old May 20th, 2003, 10:47 AM
nadine nadine is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 1 nadine User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question

Hi,

where do I have to make the changes mentioned above?
I can't find a similar entry in a .config file.

Thanks for answer

nadine

Reply With Quote
  #4  
Old May 21st, 2003, 08:32 AM
Taelo Taelo is offline
5B's
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Location: PC, FL
Posts: 366 Taelo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 30 m 59 sec
Reputation Power: 7
recompile apache
__________________
-- Jason

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > Problem with DOMXML PHP4.0.4pl1 under W2k


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT