Req #28877 [Opn->Dup]: The First 4 letters missing When Post

From: Date: Thu, 08 Jan 2015 23:04:07 +0000
Subject: Req #28877 [Opn->Dup]: The First 4 letters missing When Post
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189770@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=28877&edit=1 ID: 28877 Updated by: ajf@php.net Reported by: jli at pegasuspharm dot com Summary: The First 4 letters missing When Post -Status: Open +Status: Duplicate Type: Feature/Change Request -Package: Feature/Change Request +Package: *General Issues Operating System: MS Windows 2000 PHP Version: 4.3.6 Block user comment: N Private report: N New Comment: Duplicate of: https://bugs.php.net/bug.php?id=19404 (Which was fixed.) Previous Comments: ------------------------------------------------------------------------ [2004-06-22 03:21:18] scottm at spamcop dot net 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 ------------------------------------------------------------------------ [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 https://bugs.php.net/bug.php?id=28877&edit=1

« previous php.bugs (#189770) next »