Zitat von Hartmut Holzgraefe <[EMAIL PROTECTED]>: > 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php