retrieve POST body?
| From: | Justin Frim | Date: | Wed, 18 Apr 2007 15:39:06 +0000 |
| Subject: | retrieve POST body? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-253197@lists.php.net to get a copy of this message | ||
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.