#19347 [Opn->Fbk]: mbstring extension truncates variables
| From: | sniper@php.net | Date: | Wed, 11 Sep 2002 00:46:13 +0000 |
| Subject: | #19347 [Opn->Fbk]: mbstring extension truncates variables | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18996@lists.php.net to get a copy of this message | ||
ID: 19347
Updated by: sniper@php.net
Reported By: scottmacvicar@ntlworld.com
-Status: Open
+Status: Feedback
Bug Type: mbstring related
Operating System: Windows XP Pro
PHP Version: 4.2.3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-09-10 18:28:19] scottmacvicar@ntlworld.com
Seems to be a problem with the mbstring extension and arrays being used
as names of the input fields in forms.
If you use the following code
<?php
echo '<pre>';
print_r($_POST);
echo '</pre>';
?>
<form method="post">
<input type="text" name="array[]" size="8" />
<input type="submit" name="submit" value="test" />
</form>
It shows the example best, if the mbstring extension is enabled when
you type any text into the text field it will remove the first four
characters.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19347&edit=1