User Profile

Collapse

Profile Sidebar

Collapse
dt84
dt84
Last Activity: Sep 26 '08, 02:57 AM
Joined: Sep 24 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thanks Dormilich for the reply,

    I tried it with "<" and the output was "lt;" so it appears XML_Unserialize r is also not converting "&" to "&".

    Here's the code I'm using to test:

    [PHP]
    require_once('X ML/Unserializer.ph p');

    $some_text = '<strong> bold text<strong& gt;';
    $body = '<?xml version="1.0"...
    See more | Go to post

    Leave a comment:


  • PHP XML_Unserializer is removing some important characters

    Hello Everyone,

    This is a PHP/XML query.

    I'm using XML_Unserialize r from the PEAR package to convert some XML to a php array. The XML is very basic:

    <response status="SUCCESS ">
    <object>some character data</object>
    </response>

    The problem I'm facing is that if "some character data" contains &lt; or &gt; (for < and >),...
    See more | Go to post
No activity results to display
Show More
Working...