Hope someone can help me! I have a PHP form that sends data to another server, however I need to publish a hidden parameter field, but as an XML string - for example:
<form action="#" method="post">
<input type="hidden" name="values" value="{XML-formatted string}" />
</form>
The XML values will be most of the form fields that I collect, such as name, address, email address, phone, etc. etc.
Has anyone done this and, importantly, had sample code for this? - basically, how to format and publish form values as the required XML string so that the remote server can accept this offer.
Thank you very much in advance!
source
share