SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Addict Php_penguin's Avatar
    Join Date
    Aug 2004
    Location
    Colwyn Bay, Wales, UK
    Posts
    287
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    SimpleXML - don't make me cry ;)

    So i made an FAQ system... and i thought to myself
    "The server this is gonna sit on doesn't really have MySQL properly"
    "Of course! I'll use XML.. what a clever bunny I am. I'll just whip out the ol' SimpleXML"

    ... 1 hour later ...

    "Yay, it's done.. complete with AJAX and fancy gizmos.. just push it up the pipe"
    "Oh no! It doesn't work! The server doesn't have SimpleXML"
    "I'll find a drop in replacement that mimics SimpleXML's object system exactly"

    ... 10 minutes later + a couple of dents in the wall and my forehead...

    "Apparently this doesn't exist or is hidden behind the 10000 similiar solutions which return a ridiculously inflated tree..."

    ... 10 further minutes + lots more dents ...

    "Sitepoint, here i come"

    So if you can gather what I'm saying in my unusually narrative way, I need a drop-in replacement for SimpleXML.

    Anyone found one/used one?

  2. #2
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,807
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    short answer - no
    long answer - no

    but what a great, descriptive read
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....

  3. #3
    SitePoint Addict Php_penguin's Avatar
    Join Date
    Aug 2004
    Location
    Colwyn Bay, Wales, UK
    Posts
    287
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok then, i will just upgrade the server to PHP 5.. hopefully it will have SimpleXML there :s

  4. #4
    SitePoint Wizard bronze trophy devbanana's Avatar
    Join Date
    Apr 2006
    Location
    Pennsylvania
    Posts
    1,736
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Only PHP5 has SimpleXML, and I believe it is in by default. At least I've never seen an installation of PHP5 without SimpleXML.

    But yeah SimpleXML is great. If it's available.

    That wall might not be happy though.
    Laudetur Iesus Christus!
    Christ's Little Flock
    Jesus is the Good Shepherd


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •