ID: 28877 Comment by: scottm at spamcop dot net Reported By: jli at pegasuspharm dot com Status: Open Bug Type: Feature/Change Request Operating System: MS Windows 2000 PHP Version: 4.3.6 New Comment:
Can you confirm your php version as this sounds like a bug in php 4.2.3 See http://bugs.php.net/bug.php?id=19404 Previous Comments: ------------------------------------------------------------------------ [2004-06-22 03:01:48] jli at pegasuspharm dot com 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 this bug report at http://bugs.php.net/?id=28877&edit=1
