Re: retrieve POST body?

From: Date: Fri, 20 Apr 2007 04:04:47 +0000
Subject: Re: retrieve POST body?
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.general 
Request: Send a blank email to php-general+get-253316@lists.php.net to get a copy of this message
Gregory Beaver wrote:
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 That's what happens when your trying to do too many tings at once.
Thanks, Myron -- _____________________ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/

« previous php.general (#253316) next »