At 12:55 10-11-2002, Kjartan Mannes wrote: [...]
> + Contains the RAW POST data. For this variable to exist, > + there must be a POST request and either the mime type of > + the POST data must be unrecoginized
[...]
<form action="<?php echo $PHP_SELF; ?>" method="post"> Send this post data: <input name="data" type="text">
[...]
I get this output when always_populate_raw_post_data is off:
$_POST:
array(2) {
["data"]=>
string(4) "Test"
["op"]=>
string(4) "Post"
}
$HTTP_RAW_POST_DATA
NULL
Fits like a glove.By default forms are set to "application/x-www-url-encoded", which is recognized.
Read up on the 'enctype' attribute of forms and/or use enctype="multipart/formdata" and upload a file, with an extension, that isn't known by your browser (.foobar would be a good guess).
Met vriendelijke groeten / With kind regards,
Webmaster IDG.nl
Melvyn Sopacua
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
