From:             jfrim at idirect dot com
Operating system: Win98
PHP version:      5.2.1
PHP Bug Type:     Feature/Change Request
Bug description:  Request for method to always retrieve POST body

Description:
------------
Currently there exists no way in PHP to retrieve the POST body when a form
is sent using multipart/form-data.  This is a problem for implementing
protocols like HTTP digest authentication, which require the server to
calculate a hash of the received POST body.

If making the POST body available on the php://input stream AT ALL TIMES
regardless of the encoding type is impractical (possibly due to memory
requirements when the POST body is very large), an alternative would be to
stream the POST body, unaltered, directly to a temporary file.  (Similar to
the way files uploaded with HTML forms are streamed to temporary files
referenced in the $_FILES[] superglobal.)

This would allow authors to fully implement HTTP digest authentication in
their scripts, and open up any other other possible situations where one
might require an exact bit-accurate copy of the POST body.



-- 
Edit bug report at http://bugs.php.net/?id=41191&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=41191&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=41191&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=41191&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=41191&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=41191&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=41191&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=41191&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=41191&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=41191&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=41191&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=41191&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=41191&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=41191&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=41191&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=41191&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=41191&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=41191&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=41191&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=41191&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=41191&r=mysqlcfg

Reply via email to