Re: retrieve POST body?

From: Date: Fri, 20 Apr 2007 03:28:37 +0000
Subject: Re: retrieve POST body?
References: 1 2 3 4 5 6 7 8 9  Groups: php.general 
Request: Send a blank email to php-general+get-253314@lists.php.net to get a copy of this message
Myron Turner wrote: > That's not been my experience. I've tested it with > enctype="multipart/form-data", since that's what you asked for, though > the enctype wasn't included in my sample code. I've run it on PHP > Version => 5.1.6 (Fedora core 4) and PHP 4.3.11 Fedora core 2. > Here it is on Fedora 2: > http://www.mturner.org/temp/post_data.php > The code is > http://www.mturner.org/temp/post_data.phps the enctype attribute should be in the <form> tag, not the submit <input>. Put it in <form> and your php://input will disappear Greg -- Experience the revolution, buy the PEAR Installer Manifesto http://www.packtpub.com/book/PEAR-installer

« previous php.general (#253314) next »