From: jli at pegasuspharm dot com Operating system: MS Windows 2000 PHP version: 4.3.6 PHP Bug Type: Feature/Change Request Bug description: The First 4 letters missing When Post
Description: ------------ The First 4 letters missing with the following codes When Post:(Note: the text fileds below is an array like desc[]) <form name="service" method="post" action="<?php $_SERVER["PHP_SELF"]; ?>" onSubmit="return checkEnter();"> <input name="Desc[]" type="text" size="40" maxlength="50" value="<?php echo $_POST["Desc"][0]; ?>"> <input name="Desc[]" type="text" size="40" maxlength="50" value="<?php echo $_POST["Desc"][1]; ?>"> <input name="Desc[]" type="text" size="40" maxlength="50" value="<?php echo $_POST["Desc"][2]; ?>"> </form> Reproduce code: --------------- <form name="service" method="post" action="<?php $_SERVER["PHP_SELF"]; ?>" onSubmit="return checkEnter();"> <input name="Desc[]" type="text" size="40" maxlength="50" value="<?php echo $_POST["Desc"][0]; ?>"> <input name="Desc[]" type="text" size="40" maxlength="50" value="<?php echo $_POST["Desc"][1]; ?>"> <input name="Desc[]" type="text" size="40" maxlength="50" value="<?php echo $_POST["Desc"][2]; ?>"> </form> Actual result: -------------- The first 4 letters provided in a field missing. -- Edit bug report at http://bugs.php.net/?id=28877&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28877&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28877&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28877&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28877&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28877&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28877&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28877&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28877&r=support Expected behavior: http://bugs.php.net/fix.php?id=28877&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28877&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28877&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28877&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28877&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28877&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28877&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28877&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28877&r=float
