Markus Fischer wrote:
If I just want to see the RAW data it's still easier to do
var_dump($HTTP_RAW_POST_DATA);
than anything else to me.
now you can do
readfile("php://input");
this has the following advantages:
- less typing, saves you 6 keystrokes ;)
- does not only work for POST, but also for PUT, ...
- does not eat memory
and the following disadvantages:
- works only once, there is no rewind for this stream
- is not BC for pre-4.3 versions
--
Six Offene Systeme GmbH http://www.six.de/
i.A. Hartmut Holzgraefe
Email: [EMAIL PROTECTED]
Tel.: +49-711-99091-77
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php