Question on SimpleXML converting to HTML entities.

This is a discussion on Question on SimpleXML converting to HTML entities. within the PHP Language forums, part of the PHP Programming Forums category; I have a script that takes a xml template then adds data into it using SimpleXMLElement. I then save it ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-28-2008
ty
 
Posts: n/a
Default Question on SimpleXML converting to HTML entities.

I have a script that takes a xml template then adds data into it using
SimpleXMLElement. I then save it using asXML into a mysql database.
On my development machine at home it works fine. However, on the host
it is changing the tag data into HTML entities. The version of
SimpleXMLElement on the host is PHP 5.2.5 and SimpleXML
1.151.2.22.2.35 and the version on my dev machine is PHP 5.2.3 and
SimpleXML 1.151.2.22.2.26. Did something recently change in SimpleXML
that would cause it to convert all the tags < > and & to HTML
entities?

Best Regards

Ty
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:36 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0