tomfmason Posted October 19, 2006 Share Posted October 19, 2006 I am not really sure if this is the proper place to post this or not. If any mods deem another forum more appropriate.. please move..My question is not really regarding the functions themselves but the rather the probability of a users host supporting these functions.I am currently working on redesigning my CMS to utilize php's XML functions and am wondering if this will be worth the time and effort. If only 10 to 20 percent of the hosts support these functions then I will not put much time or effort into XML.Thanks,Tom Link to comment https://forums.phpfreaks.com/topic/24498-question-about-phps-xml-functions/ Share on other sites More sharing options...
Jenk Posted October 19, 2006 Share Posted October 19, 2006 SimpleXML is 'default' and frankly, if your host doesn't have them, or atleast willing to enable them (free of charge) they are not worthy hosts.. Link to comment https://forums.phpfreaks.com/topic/24498-question-about-phps-xml-functions/#findComment-111602 Share on other sites More sharing options...
tomfmason Posted October 19, 2006 Author Share Posted October 19, 2006 I guess that answers my question...lolThanks,Tom Link to comment https://forums.phpfreaks.com/topic/24498-question-about-phps-xml-functions/#findComment-111603 Share on other sites More sharing options...
tomfmason Posted October 19, 2006 Author Share Posted October 19, 2006 I guess that did not realy answer my question.simpleXML functions are only available since php 5+. I guess now my question would be how many hosts support php 5. Link to comment https://forums.phpfreaks.com/topic/24498-question-about-phps-xml-functions/#findComment-111607 Share on other sites More sharing options...
tomfmason Posted October 19, 2006 Author Share Posted October 19, 2006 I am thinking that I will use domxml for > php5 and simple xml for the newer versions.Thanks,Tom Link to comment https://forums.phpfreaks.com/topic/24498-question-about-phps-xml-functions/#findComment-111612 Share on other sites More sharing options...
Jenk Posted October 19, 2006 Share Posted October 19, 2006 Quite a number. A lot offer the choice of either 4 or 5. Link to comment https://forums.phpfreaks.com/topic/24498-question-about-phps-xml-functions/#findComment-111613 Share on other sites More sharing options...
tleisher Posted October 19, 2006 Share Posted October 19, 2006 Create a new file, in the first line of this file put this:AddType application/x-httpd-php5 .phpSave the file as ".htaccess" without the quotes, upload it to the directory that your script is in.You now have PHP 5.1.4 :) Enjoy SimpleXML. Link to comment https://forums.phpfreaks.com/topic/24498-question-about-phps-xml-functions/#findComment-111614 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.