#19353 [NEW]: Text is cut off when submitting input-field-arrays via $_POST

From: Date: Wed, 11 Sep 2002 09:33:06 +0000
Subject: #19353 [NEW]: Text is cut off when submitting input-field-arrays via $_POST
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19022@lists.php.net to get a copy of this message
From: Markus.Henze@Student.Uni-Augsburg.DE Operating system: Suse Linux 7.3 PHP version: 4.2.3 PHP Bug Type: Scripting Engine problem Bug description: Text is cut off when submitting input-field-arrays via $_POST When submitting multiple (input-)fields as an array within a form , PHP 4.2.3 drops text-parts of the submitted values within these fields. Example: <? print implode($_POST['hello'],","); <form method = "post"> <input type="text" name="hello[]" /> <input type="text" name="hello[]" /> <input type="submit" value="submit" /> </form> ?> When you put "hello world" in the first box and "nice weather today" in the second one, only the following text is returned by the implode-command: "o world,eather today". Replacing implode with foreach does not solve the problem. Apache 1.3.26 is being used as webserver. Zend Optimizer is also installed on the system, which is a SuSE Linux 7.3 box. -- Edit bug report at http://bugs.php.net/?id=19353&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19353&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19353&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19353&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19353&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19353&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19353&r=support Expected behavior: http://bugs.php.net/fix.php?id=19353&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19353&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19353&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19353&r=globals

« previous php.bugs (#19022) next »