Tuesday, November 12, 2002, 12:02:52 PM, Hartmut Holzgraefe wrote: > But in some cases it might be necessary to deal with 'raw' POST data. > One of these cases is input that assigns multiple values to the same > field name. PHP post data handlers will overwrite previous values for > that field unless the field name itself ends in the two characters > '[]', in which case PHP treats it as an array and pushes all values > for that name into this array. Another case are field names that do > not map to valid PHP variable names.
The way I understand $HTTP_RAW_POST_DATA it should contain the post data when PHP does not have a handler for the content type. Then have the always_populate_post_data setting when turned on also set it when there is a valid handler. (This was the 4.2 way of doing it in my experience.) This makes logical sense as if there is a valid handler the PHP script will have other methods to get at the data, if there isn't it can parse it itself. If someone posts a 50MB file and isn't setting the content type properly it is the users fault if it doesn't work or crashes. -- Kjartan <[EMAIL PROTECTED]> (http://natrak.net/) :: "Smash forehead on keyboard to continue." -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php