Page 1 of 1

POST data in php and process the result after it.

Posted: Mon Oct 27, 2008 9:41 pm
by kelfy
Hi,

I am looking for a solution on how to POST data in PHP. I've a form with few hidden data that need to POST to a specific URL. The destination URL will return some data in XML format for me to do further process. If I set the action attribute in html form tag with the destination URL, the page will return the data in XML but the domain name has been changed to the destination URL and I can do further process. Does anyone knows how I can make the XML result stay in my PHP script so I can do further process?

Thank you.

Re: POST data in php and process the result after it.

Posted: Mon Nov 10, 2008 11:18 pm
by novice4eva
i think you would want to look into curl. Use curl to post and get the output(XML).