POST data in php and process the result after it.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kelfy
Forum Newbie
Posts: 1
Joined: Mon Oct 27, 2008 8:42 pm

POST data in php and process the result after it.

Post 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.
User avatar
novice4eva
Forum Contributor
Posts: 327
Joined: Thu Mar 29, 2007 3:48 am
Location: Nepal

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

Post by novice4eva »

i think you would want to look into curl. Use curl to post and get the output(XML).
Post Reply