Re: RAW POST DATA
| From: | Hartmut Holzgraefe | Date: | Wed, 13 Nov 2002 10:56:02 +0000 |
| Subject: | Re: RAW POST DATA | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90957@lists.php.net to get a copy of this message | ||
Markus Fischer wrote:
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: hartmut@six.de Tel.: +49-711-99091-77If I just want to see the RAW data it's still easier to dovar_dump($HTTP_RAW_POST_DATA);than anything else to me.