Re: PHP 4.0 Bug #3449: Form method POST doesn't work properly

From: Date: Thu, 10 Feb 2000 16:01:32 +0000
Subject: Re: PHP 4.0 Bug #3449: Form method POST doesn't work properly
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-15359@lists.php.net to get a copy of this message
On 10 Feb 2000 heep@cnetworks.net wrote: > When I send long enough text from the form text area, it > cutted somewhere in the middle and last character is "%". > It is also clear that if string > echo "<BR><INPUT type=hidden name=act value=post>"; > will be set after string > echo "<INPUT type=reset value='Clear'>"; > than value of $act will be empty. To my view there is > overwriting some internal buffer in PHP occures when variable > filled up by content of POST I believe this to be a limitation of a POST with the "application/x-www-form-urlencoded" mime type. I ran into a similar problem when I was doing testing a while back. Using "multipart/form-data" I was able to do a POST submit on the entire Gates interview as found on Slashdot (whereas using the urlencoded mime type, I only got part of it). Try changing your form to: <FORM ACTION="/path/to/php/script.php" METHOD="post" ENCTYPE="multipart/form-data"> And then try again. -- Dominic J. Eidson "Baruk Khazad! Khazad ai-menu!" - Gimli -------------------------------------------------------------------------------- http://www.the-infinite.org/ http://www.the-infinite.org/~dominic/

« previous php.dev (#15359) next »