I have an html page where the user is asked to enter in various information
then i use a php page to turn that info into an xml file and I would like to send the xml code as a FORM..
How will I go about doing this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could use cURL to post the XML to any uri. You can see an example in the PHP manual: http://be.php.net/manual/en/function.curl-exec.php#98628
If you really want to submit it as a form, you could output a new form after combining all data to XML, with the xml in a hidden input-field, and auto-submitting that using javascript. Though I believe the first option will be what you need :p