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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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: Thu Apr 18 08:02:42 2024 UTC