Re: retrieve POST body?

From: Date: Wed, 18 Apr 2007 15:40:02 +0000
Subject: Re: retrieve POST body?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-253198@lists.php.net to get a copy of this message
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? I recall being annoyed that "always" doesn't actually mean always, but I can't remember the exact scenario. Perhaps it doesn't populate that variable when the Content-Type is application/x-www-form-urlencoded, and it does in all other cases. Hope that helps. Chris -- Chris Shiflett http://shiflett.org/

« previous php.general (#253198) next »