#20114 [Opn->Csd]: Post looses first 4 characters
| From: | moriyoshi@php.net | Date: | Sun, 27 Oct 2002 05:45:03 +0000 |
| Subject: | #20114 [Opn->Csd]: Post looses first 4 characters | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23407@lists.php.net to get a copy of this message | ||
ID: 20114
Updated by: moriyoshi@php.net
Reported By: admin@modernbill.com
-Status: Open
+Status: Closed
-Bug Type: Variables related
+Bug Type: mbstring related
Operating System: Red Hat Linux release 7.1
PHP Version: 4.2.3
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Also try --disable-mbstr-enc-trans if you still want to use 4.2.3.
Previous Comments:
------------------------------------------------------------------------
[2002-10-26 23:39:37] admin@modernbill.com
Posting to an array variable LOOSES the first 4 charcters of data every
time.
The best way to see this is by example:
<!-- INPUT -->
<form action="<?=$_SELF?>" method="POST">
<input name="variable[]" value="123456789">
<input name="variable[]" value="abcdefghi">
<input type=submit value=submit name=submit>
</form>
<pre>
<?=print_r($_POST);?>
</pre>
<!-- OUTPUT -->
Array
(
[variable] => Array
(
[0] => 56789
[1] => efghi
)
[submit] => submit
)
---
I noticed this bug after a few clients upgraded to PHP 4.2.3 from
4.2.2. Nothing else changed on the server.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20114&edit=1