Re: RAW POST DATA

From: Date: Tue, 12 Nov 2002 13:43:06 +0000
Subject: Re: RAW POST DATA
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-90865@lists.php.net to get a copy of this message
Zitat von Hartmut Holzgraefe <hartmut@six.de>: > Jan Schneider wrote: > > Do you mean, this is your plan or this already works? > > php://input already works with apache 1.x > > it should be SAPI independant, but for some strange > reason it doesn't work for CGI right now, and i haven't > tested any other SAPIs yet > > but with the apache 1 module i already use it for > WebDAV PUT and it works fine for me :) 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. ;-) 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 (#90865) next »