Re: RAW POST DATA

From: Date: Wed, 13 Nov 2002 12:21:06 +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-90962@lists.php.net to get a copy of this message
Zitat von Hartmut Holzgraefe <hartmut@six.de>: > 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 ... :) That's the behaviour that I already switched Horde's RPC servers to. Though your readfile() one-liner is really neat. Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - discover your knowledge http://www.tip4all.de - Deine private Tippgemeinschaft

« previous php.dev (#90962) next »