Re: retrieve POST body?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reading from php://input on a webserver will retrieve the Body of the
HTTP Request.

On 4/18/07, Justin Frim <jfrim@xxxxxxxxxxx> 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



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux