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/" -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php