#20114 [Csd->Fbk]: Post looses first 4 characters
| From: | moriyoshi@php.net | Date: | Mon, 28 Oct 2002 21:14:32 +0000 |
| Subject: | #20114 [Csd->Fbk]: Post looses first 4 characters | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23594@lists.php.net to get a copy of this message | ||
ID: 20114
Updated by: moriyoshi@php.net
Reported By: admin@modernbill.com
-Status: Closed
+Status: Feedback
Bug Type: mbstring related
Operating System: Red Hat Linux release 7.1
PHP Version: 4.2.3
New Comment:
Thank you for the report.
There is no difference between 4.3.0-pre1 and CVS HEAD version in the
part of code blamed in 4.2.3, so I don't see the problem there.
Did you get the same result with pre1 version?
Previous Comments:
------------------------------------------------------------------------
[2002-10-27 11:04:40] nstrunc@nslink.net
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.
------------------------------------------------------------------------
[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