Re: retrieve POST body?

From: Date: Wed, 18 Apr 2007 15:59:37 +0000
Subject: Re: retrieve POST body?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-253203@lists.php.net to get a copy of this message
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']

« previous php.general (#253203) next »