Incoming XML request
| From: | Michael Conley | Date: | Thu, 17 May 2001 23:46:19 +0000 |
| Subject: | Incoming XML request | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-53354@lists.php.net to get a copy of this message | ||
I want to set up a page that can accept an XML string, which I will then
parse for the data I need, perform a database lookup based on that data and
return an XML string to the client. I am unsure of where to start this.
1. I don't know how to have my PHP page capture the XML string they send
me. This will be an automated system, so my web server needs to be ready to
accept their XML string.
2. If I can take the XML string from #1 and assign it to a variable, I can
extract the information I need.
3. If I can do #1 and #2, I can do the database lookups that I need.
4. How do I send them the results of my lookups in XML?
I am running PHP4.04pl1 on RedHat 7.1 and Apache 1.3.14. I have SSL and
cURL installed and working properly.