php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19300 $_POST vars lost chars when parse form
Submitted: 2002-09-09 01:26 UTC Modified: 2003-01-18 10:56 UTC
From: wiseguy at ms10 dot url dot com dot tw Assigned:
Status: Closed Package: mbstring related
PHP Version: 4.2.3 OS: all
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: wiseguy at ms10 dot url dot com dot tw
New email:
PHP Version: OS:

 

 [2002-09-09 01:26 UTC] wiseguy at ms10 dot url dot com dot tw
page1.htm :
========================
<form method="POST" action="page2.php">
<input type="text" name="title">
<input typt="submit">
</form>
========================

When the inputbox content is BIG5 encoding words, after submiting, the $_POST['title'] variable will lose pre-words.
example:
input = ???դ@?U
$_POST['title'] = "?@?U"

###########################################################
configure line: 
CC=gcc \
CFLAGS="-O6 -mcpu=pentiumpro" \
./configure \
--enable-track-vars \
--enable-inline-optimization \
--enable-mbstring \
--enable-mbstr-enc-trans \
--enable-ctype \
--disable-wddx \
--disable-debug \
--disable-experimental-zts \
--with-xml \
--with-mcrypt=/usr/local \
--with-dom=/usr/local \
--with-zlib-dir=/usr/local \
--with-mysql=/usr/local/mysql \
--with-iconv=/usr/local \
--with-apxs=/usr/local/apache/bin/apxs \
--prefix=/usr/local


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 23:01:34 2024 UTC