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 Quote Link to comment 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.. Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.