#19460 [Com]: HTTP_POST_VARS trims 4 characters from left side of each field with array name

From: Date: Sat, 19 Oct 2002 16:31:30 +0000
Subject: #19460 [Com]: HTTP_POST_VARS trims 4 characters from left side of each field with array name
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22852@lists.php.net to get a copy of this message
ID: 19460 Comment by: dmarks@seattlemortgage.com Reported By: khalil@paksys.com Status: Closed Bug Type: mbstring related Operating System: Linux 2.4.9-34 (RedHat 7.2) PHP Version: 4.2.3 New Comment: I configured it just with the --disable-mbstr-enc-trans argument. I turned on magic quotes and register globals in the php.ini file (I know that's not the best thing). Other then that I stuck with the defaults. I am running it as Apache DSO - does any of this make a difference? Previous Comments: ------------------------------------------------------------------------ [2002-10-19 10:39:32] moriyoshi@php.net Basically the single argument --disable-mbstr-enc-trans is enough to disable the feature. NO OTHER OPTIONS are required. What options did you give to configure and how do you run the testing script? (ex. Apache DSO or CGI binary) Anyway I don't see any problems there. ------------------------------------------------------------------------ [2002-10-19 05:13:14] dmarks@seattlemortgage.com I did make clean, but still no luck. Is --disable-mbstr-enc-trans the only argument I need? If so I will contact the ISP and see if they are having issues with the way I am compiling it. If not, please let me know if there are any other arguments necessary to fix this problem. ------------------------------------------------------------------------ [2002-10-18 17:34:12] moriyoshi@php.net Did you forget to "make clean" before running configure? Or, please try [grep "MBSTR_ENC_TRANS" main/php_config.h], and if the result is /* #undef MBSTR_ENC_TRANS */ then there's no problem with configure. ------------------------------------------------------------------------ [2002-10-18 17:05:10] dmarks@seattlemortgage.com I have compiled php 4.2.3 with the --disable-mbstr-enc-trans argument but I am still receiving the same problem. Is there another argument or something else that I am missing? ------------------------------------------------------------------------ [2002-10-17 01:54:11] yohgaki@php.net The problem is fixed in 4.2.4-dev. So try STABLE cvs version if you would like. BTW, 4.2.x's (and 4.3.0) --enable-enc-trans is default to off. You must have --enable-mbstring. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19460 -- Edit this bug report at http://bugs.php.net/?id=19460&edit=1

« previous php.bugs (#22852) next »