[thelist] Retrieving Post data
Joe Ngo
chilijoe at gmail.com
Tue Jan 18 02:22:22 CST 2005
Suppose a user agent sends the following HTTP post request:
<!-- start (not part of HTTP message)
POST /listener.php HTTP/1.0
Content-Type: text/xml; charset=iso_8859-1
Accept: text/xml
Accept-Charset: utf-8, iso_8859-1
Content-Length: 190
<?xml version="1.0"?>
<XML_DATA>
<Fields>
<ID type="CHAR">abcde</ID>
<NAME type="CHAR">Test Data</NAME>
<EFFDATE type="DATE">01/01/2005</EFFDATE>
</Fields>
</XML_DATA>
end -->
How do I read the embedded xml data in PHP? I tried looking at
$_REQUEST and it's not there.
--
Take back the web!
http://www.spreadfirefox.com
More information about the thelist
mailing list