Hi,
I have been asked to do the following:
Need to submit (via POST method) some financial data held in an XML text file to a given URL, also specifying certain pre-defined Header lines. The XML should go in the body.
I know how to use the header() function, and I'm assuming that that's what I need to use to create the Header lines, eg:
header("keyword1: value1");
header("keyword2: value2");
...
However, I'm a bit stumped as to what I then need to do to. I can read the XML into a variable (or use an include() to make it part of the html), but how do I submit this along with the headers using POST?
Thanks in advance.