Is there a way to access the raw data sent to a PHP app via POST? I'm
trying to read the XML sent by a Flash program with XML.send() and its sent
via POST but not URL encoded. PHP is expecting URL encoding so it comes in
like:
$_POST['<?xml version'] = '"1.0"?>'
Perl can read it just fine like so:
read (STDIN, $rawpost, $ENV{'CONTENT_L ENGTH'});
s/\&/\&/g;
But since I'm a PHP kind of guy I'm wondering if there's a way to do this in
PHP.
trying to read the XML sent by a Flash program with XML.send() and its sent
via POST but not URL encoded. PHP is expecting URL encoding so it comes in
like:
$_POST['<?xml version'] = '"1.0"?>'
Perl can read it just fine like so:
read (STDIN, $rawpost, $ENV{'CONTENT_L ENGTH'});
s/\&/\&/g;
But since I'm a PHP kind of guy I'm wondering if there's a way to do this in
PHP.
Comment