note 31647 added to configuration.directives

From: Date: Tue, 29 Apr 2003 07:49:49 +0000
Subject: note 31647 added to configuration.directives
Groups: php.notes 
Request: Send a blank email to php-notes+get-47236@lists.php.net to get a copy of this message
After having major problems extracting the raw HTTP_RAW_POST_DATA after posting an XML document with contentType text/xml I finally got it working. In the Flash or similar use: myXML = new XML(); // add stuff to myXML here myXML.contentType = 'text/xml'; myXML.sendAndLoad(url, responseXML); in the PHP script the contents will be in the $GLOBALS['HTTP_RAW_POST_DATA'] variable. It should be noted that this was done without setting the always_populate_raw_post_data configuration directive. Test were done with PHP 4.1.2 -- http://www.php.net/manual/en/configuration.directives.php http://master.php.net/manage/user-notes.php?action=edit+31647 http://master.php.net/manage/user-notes.php?action=delete+31647 http://master.php.net/manage/user-notes.php?action=reject+31647

« previous php.notes (#47236) next »