Re: RAW POST DATA

From: 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:
    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: hartmut@six.de Tel.: +49-711-99091-77

« previous php.dev (#90957) next »