PDA

View Full Version : MvCALL seems to be converting characters


sirvulcan
08-28-08, 12:21 PM
I need to post some xml formatted text to an external (non miva) page however miva seems to be turning the <>'s into &lt and &gt's.

<MvASSIGN NAME="cmdDoTxnTransaction" VALUE="<test><post>stuff</post></test>">
<MvCALL ACTION="http://www.externalpage.com/post.php" METHOD="POST" FIELDS="cmdDoTxnTransaction">In the post.php page ive added some code that will dump the raw contents of the page into a file and this is what im getting:

cmdDoTxnTransaction=&lt;test&gt;&lt;post&gt;stuff&lt;/post&gt;&lt;/test&gt;Ive tried using asciicode()'s in the MvASSIGN but I get the same result. Is there any way I can get miva to actually send the < >'s?

sirvulcan
08-29-08, 02:37 AM
Found the problem, we were running an old version of miva.