Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- simplexml_load_file in php 4.x.x
July 17, 2008, 8:51 am
rate this thread
I am using simplexml_load_file function to parse xml files on
my localhost. But the server hosting my domain has php 4.x.x. so i
want to use php 4.x.x instead,
Is there a way to install simplexml_load_file function on php
4, if yes PLEASE let me know, else PLEASE suggest a function to parse
xml files easily......
Re: simplexml_load_file in php 4.x.x
SimpleXML as provided with PHP5 is not available for PHP4. Back than
most people used Expat which is still available but is considered to be
Now, a quick Google search presented a SimpleXML implementation for PHP4
<http://www.phpclasses.org/browse/package/4484.html . I don't know how
good it is, and if it works exactly the same but it might be worth trying.
Oh, and you might want to check if your host does not provide PHP5. For
example, one of the hosting companies I work with still configure PHP4
as default, but in the control panel I can switch between PHP4 and PHP5.
- » Doubts about environment differences between php and asp
- — Previous thread in » PHP Scripting Forum