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"...
User Profile
Collapse
-
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 < or > (for < and >),...
No activity results to display
Show More
Leave a comment: