ID: 18764 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: No Feedback Bug Type: IIS related Operating System: NT 4 PHP Version: 4.2.1 New Comment:
No feedback was provided for this bug for over 2 weeks, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-10-09 21:26:02] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-08-06 18:53:53] [EMAIL PROTECTED] The problem occurs with IIS 4 (NT 4, All SP) using the CGI version of PHP 4.2.1. Whenever a form is submitted using the post method, the last POST variable submitted loses its last character of content. The below code reproduces the problem: <?php echo " <form method=\"post\" action=\"$PHP_SELF\"> <input type=\"text\" name=\"textOne\" value=\"Test 123\"> <input type=\"text\" name=\"textTwo\" value=\"Test 123\"> <input type=\"text\" name=\"textThree\" value=\"Test 123\"> <input type=\"submit\" name=\"SubmitButton\" value=\"Test Post Bug\"> </form>"; phpinfo(); ?> In this casee, $_POST['textOne'] would return "Test 123", $_POST['textTwo'] would return "Test 123", and $_POST['textThree'] would return "Test 12" -- missing the final 3. The same code on IIS 5 doesn't produce the problem however I have run older PHP (4.0.6?) on NT 4 about 4-6months back without this problem. Not sure if this MSKB article is relevant: http://support.microsoft.com/default.aspx?scid=kb;en-us;q203298 BTW Register globals is on. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18764&edit=1