#20114 [Com]: Post looses first 4 characters
| From: | nstrunc at nslink dot net | Date: | Sun, 27 Oct 2002 17:04:40 +0000 |
| Subject: | #20114 [Com]: Post looses first 4 characters | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23433@lists.php.net to get a copy of this message | ||
ID: 20114
Comment by: nstrunc@nslink.net
Reported By: admin@modernbill.com
Status: Closed
Bug Type: mbstring related
Operating System: Red Hat Linux release 7.1
PHP Version: 4.2.3
New Comment:
I upgraded to the lastest snapshot and it works great. I think this is
also a problem in 4.3.0pre1 because I tried to upgrade to that and it
still didn't work.
Previous Comments:
------------------------------------------------------------------------
[2002-10-27 00:45:02] moriyoshi@php.net
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.
------------------------------------------------------------------------
[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