Re: RAW POST DATA
| From: | Markus Fischer | Date: | Wed, 13 Nov 2002 09:54:35 +0000 |
| Subject: | Re: RAW POST DATA | ||
| References: | 1 2 3 4 5 6 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90954@lists.php.net to get a copy of this message | ||
On Wed, Nov 13, 2002 at 10:27:09AM +0100, Hartmut Holzgraefe wrote :
> Hartmut Holzgraefe wrote:
> >Jan Schneider wrote:
> >
> >>To resume: best practice is currently to use $HTTP_RAW_POST_DATA if
> >>available and php://input else. And crossing fingers that either of them
> >>works, of course. ;-)
> >
> >
> >hmyes, but it *should* be to use php://input and forget
> >about $HTTP_RAW_POST_DATA alltogether hopefully ...
> >
>
> from now on i declare it best practice to use php://input for 4.3
> while $HTTP_RAW_POST_DATA is still available for BC reasons ... :)
I did (tried to) follow this thread, but I do not understand
why it is "best practice" to use php://input .
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.
- Markus
--
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
$ grep docref_root php.ini
docref_root = "http://landonize.it/?how=url&theme=classic&filter=RichyH&user=imajes&url=http%3A%2F%2Fphp.net%2F/"