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

From: Date: Tue, 26 Nov 2002 15:19:58 +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-25857@lists.php.net to get a copy of this message
ID: 19460 Comment by: php@com.hosfordusa 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: Does this problem exist in the PHP 4.2.3 Win 32 download binary? Previous Comments: ------------------------------------------------------------------------ [2002-10-19 11:56:58] moriyoshi@php.net Hmm... I asked such questions just because I would like to confirm if you have surely configured both with --disable-mbstr-enc-trans and --with-apxs, and you have run the script in Apache. BTW magic_quotes_gpc and register_globals have nothing to do with the mbstr-enc-trans issue. ------------------------------------------------------------------------ [2002-10-19 11:31:30] dmarks@seattlemortgage.com 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? ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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 (#25857) next »