From: [EMAIL PROTECTED]
Operating system: *
PHP version: 4CVS-2002-10-31
PHP Bug Type: *General Issues
Bug description: "always_populate_raw_post_data = On" breaks HTTP file uploads
Broken by Hartmut with this commit:
2002-10-21 Hartmut Holzgraefe <[EMAIL PROTECTED]>
* ext/standard/php_fopen_wrapper.c
main/SAPI.c
main/main.c
main/php_content_types.c
main/php_globals.h:
some changes to how request input data (Content-Lenght >0) is handled
- webdav-specific stuff removed (should be handled using httpd.conf
LIMIT or equivalents)
- always_populate_raw_post_data now working on any method, not just
POST (and webdav methods with allow_webdav_methods), when
Content-Length is greater zero
- raw input data is also available using php://input stream,
this way one doesn't have to care about memory_limit
- input data is now always consumed (although maybe ignored,
this fixes we had withproblems with keep-alive connections
--
Edit bug report at http://bugs.php.net/?id=20198&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20198&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20198&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20198&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20198&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20198&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20198&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20198&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20198&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20198&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20198&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20198&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20198&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20198&r=isapi