generalc
Programmer
- Jun 28, 2008
- 1
I've been having problems with the sending of the XML. Perhaps much of these problems come because I am a newer programmer and I don't have much experience with XML. I am using php as the server script.
The only way I have had success encoding xml is with post encoding.
<form id='final' method='POST' action=' >
<input type='submit'>
</form>
This method will work fine to pass a small amount of XML. However, larger XML data size causethe url to be too long to send. The order will get sent but the xml will be truncated (to 250 characters). I've also tried this variation that eliminates the need of the xml to be in the url.
<form id='final' method='POST'
action=' >
<!-- The Url I'm sending to has no .php or .asp just
a folder-->
<input name='orders' type='field1'
value='somedata' />
<input name='profile' type='field2'
value='moredata'/>
<input value="submit" type='submit'>
</form>
But no data is passed. This seems like a really easy problem to solve if I could be pointed in the right direction.
Thanks in advance.
The only way I have had success encoding xml is with post encoding.
<form id='final' method='POST' action=' >
<input type='submit'>
</form>
This method will work fine to pass a small amount of XML. However, larger XML data size causethe url to be too long to send. The order will get sent but the xml will be truncated (to 250 characters). I've also tried this variation that eliminates the need of the xml to be in the url.
<form id='final' method='POST'
action=' >
<!-- The Url I'm sending to has no .php or .asp just
a folder-->
<input name='orders' type='field1'
value='somedata' />
<input name='profile' type='field2'
value='moredata'/>
<input value="submit" type='submit'>
</form>
But no data is passed. This seems like a really easy problem to solve if I could be pointed in the right direction.
Thanks in advance.