Capturing POST Header Responses
Posted: Mon Nov 20, 2006 10:05 am
Hello,
This is a theory question in which i seek insight on its workings...
I am trying to code for a ecommerce driven process in which i use a form to post information through https protocol and a response is "posted" back in the form of a header xml data...I am trying to understand the concept of this as i am unsure of this process.
what has been documented by my ecommerce provider is that the variables posted from my form to a thier url is processed and a response in the form of
is posted back to the calling url...(i'm assuming its the form page that i posted from?...would it be?)
them im to do what is necessary with the results. Now on running atest on this the xml above is outputted directly to the screen...but i am supposed to parse this xml content and do what i need to do accordingly...
do you understand this concept?
what i am confused with is if they "posted" back as h eader information how do i capture this in PHP ?
if you guys dont understand the question then let me know so that i can maybe explain in more details
Kendall[/syntax]
This is a theory question in which i seek insight on its workings...
I am trying to code for a ecommerce driven process in which i use a form to post information through https protocol and a response is "posted" back in the form of a header xml data...I am trying to understand the concept of this as i am unsure of this process.
what has been documented by my ecommerce provider is that the variables posted from my form to a thier url is processed and a response in the form of
Code: Select all
Header
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
Body
<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://someurl.com/">RESPONSEDATA</string>
them im to do what is necessary with the results. Now on running atest on this the xml above is outputted directly to the screen...but i am supposed to parse this xml content and do what i need to do accordingly...
do you understand this concept?
what i am confused with is if they "posted" back as h eader information how do i capture this in PHP ?
if you guys dont understand the question then let me know so that i can maybe explain in more details
Kendall[/syntax]