XML parser?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Hydro
    Junior Member
    • Mar 2004
    • 2

    XML parser?

    Do all servers support XML parsing?
  • -Oz-
    Senior Member
    • Mar 2004
    • 545

    #2
    All servers should support xml parsing. What do you want to do? That is normally an internal language thing, such as using PHP to parse an xml document. I know cpanel25 does.
    Dan Blomberg

    Comment

    • mIDO
      Junior Member
      • Mar 2004
      • 28

      #3
      you can use xml with php, try to see installed modules at http://cpanelXX.gzo.com/phpinfo.php

      You can read more about this modules in www.php.net

      Comment

      • Ankit
        Junior Member
        • Mar 2004
        • 6

        #4
        I'm pretty sure all cPanel servers can parse XML.

        Comment

        • Jonathan
          Senior Member
          • Mar 2004
          • 1229

          #5
          Unless my memory is failing me (again), I believe
          PHP by default supports XML parsing.
          "How can someone be so distracted yet so focused?"
          - C

          Comment

          • sdjl
            Senior Member
            • Mar 2004
            • 502

            #6
            Originally posted by Jonathan
            Unless my memory is failing me (again), I believe
            PHP by default supports XML parsing.
            Even if it doesn't, you can write a custom script to parse XML without any needed modules

            David
            -----
            Do you fear the obsolescence of the metanarrative apparatus of legitimation?

            Comment

            • erocko
              Junior Member
              • Mar 2004
              • 2

              #7
              Many thanks for the info.

              Comment

              • Thyme
                Junior Member
                • Mar 2004
                • 13

                #8
                If you're using PHP, this site has much information.
                "I have never made but one prayer to God, a very short one: 'O, Lord, make my enemies ridiculous.' And God granted it." --Voltaire

                Comment

                • salmon
                  Junior Member
                  • Nov 2006
                  • 3

                  #9
                  In cpanel 58, it says "Cannot instantiate non-existent class: xmlreader in /home/talesofm/public_html..."

                  how can I over come this problem?

                  Comment

                  • AndrewT
                    Administrator
                    • Mar 2004
                    • 3653

                    #10
                    Your script is trying to create a class object which is not defined and it sounds like it should be defined in one of your other scripts, perhaps it isn't included properly.

                    Comment

                    • Frank Hagan
                      Senior Member
                      • Mar 2004
                      • 724

                      #11
                      Originally posted by salmon
                      In cpanel 58, it says "Cannot instantiate non-existent class: xmlreader in /home/talesofm/public_html..."

                      how can I over come this problem?
                      Andrew is probably right, but there is one other thing that applies. PHP 5 has some enhanced xml handling that isn't in the earlier versions, so check to see if your script requires PHP 5. By default, all servers run PHP 4.x even if PHP 5 is available (I think it is on all servers now). If your script requires PHP 5, see http://forums.dathorn.com/showthread.php?t=2385 for a way to enable it.

                      Comment

                      • AndrewT
                        Administrator
                        • Mar 2004
                        • 3653

                        #12
                        Just quickly took a look at the php.net website and it looks like your script is trying to use this:



                        Which requires PHP 5. Just follow the link that Frank provided above to setup your domain to use PHP 5.

                        Comment

                        • salmon
                          Junior Member
                          • Nov 2006
                          • 3

                          #13
                          I discovered and fixed the problem. Wordpress script automatically turns PHP version to 4.4.8; I added prompt to use php 5 to htaccess and the problem has been disappeared.

                          Thank you for your interest

                          Comment

                          Working...