#19347 [Fbk->Csd]: mbstring extension truncates variables

From: Date: Wed, 11 Sep 2002 03:04:50 +0000
Subject: #19347 [Fbk->Csd]: mbstring extension truncates variables
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19005@lists.php.net to get a copy of this message
ID: 19347 Updated by: yohgaki@php.net Reported By: scottmacvicar@ntlworld.com -Status: Feedback +Status: Closed Bug Type: mbstring related Operating System: Windows XP Pro 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. This bug has been fixed for both HEAD and PHP_4_2_0 branch. Previous Comments: ------------------------------------------------------------------------ [2002-09-10 19:46:12] sniper@php.net 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 ------------------------------------------------------------------------ [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

« previous php.bugs (#19005) next »