PHP SimpleXML and escaped strings

networkspy

New Member
I have a script pulls some data out of a database and then sends it in xml format using SimpleXML. Clients that use the service load the xml using file_get_contents(url-to-script) and then use SimpleXML to find the relevant data and display it on a webpage.The problem I am having is that the output on the webpage is always escaped. It doesn't matter how many times I run the strings I am getting back through stripslashes, it is still escaped.Any ideas how to strip the slashes?EDIT:The data is put into the database through a 3rd party application, we never enter it programmatically. However, we extract from it in a number of other applications and it is not escaped.We are not using addslashes on the data anywhere.magic_quotes_gpc is on, all the other magic_quotes options are off
 
Back
Top