Re: retrieve POST body?

From: Date: Wed, 18 Apr 2007 15:43:24 +0000
Subject: Re: retrieve POST body?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-253199@lists.php.net to get a copy of this message
Reading from php://input on a webserver will retrieve the Body of the HTTP Request. On 4/18/07, Justin Frim <jfrim@idirect.com> wrote:
Greetings, Is there any way to retrieve the POST message body when a form is submitted to a PHP script using multipart/form-data? I can't use just the $_POST[] and $_FILES[] arrays because I need to calculate the hash of an exact bit-accurate copy of the original POST body for data verification. (HTTP digest authentication with qop="auth-int".) Submitting the form using application/x-www-form-urlencoded is not an option either because the PHP script has to be able to handle forms with file uploads. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#253199) next »