Re: retrieve POST body?

From: Date: Wed, 18 Apr 2007 16:00:35 +0000
Subject: Re: retrieve POST body?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-253205@lists.php.net to get a copy of this message
php://input ?? ;) On 4/18/07, Justin Frim <jfrim@idirect.com> wrote:
Chris Shiflett wrote: Justin Frim wrote:
Is there any way to retrieve the POST message body when a form is submitted to a PHP script using multipart/form-data?
There's the always_populate_raw_post_data configuration directive and the $HTTP_RAW_POST_DATA. Have you tried that? Yes, that is already configured. It appears that $HTTP_RAW_POST_DATA only works for application/x-www-form-urlencoded, but not multipart/form-data. Same thing with $GLOBALS['HTTP_RAW_POST_DATA'] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#253205) next »