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 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

Pull Requests

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC