ID: 20116 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed -Bug Type: Variables related +Bug Type: mbstring related Operating System: OS X 10.2.1 PHP Version: 4.2.3 -Assigned To: +Assigned To: moriyoshi New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Additional comment: Also try to configure with --disable-mbstr-enc-trans if you even want to use 4.2.3 . Previous Comments: ------------------------------------------------------------------------ [2002-10-27 01:17:24] [EMAIL PROTECTED] I have a simple method of creating easy form processing.... I thought.... I came up with the idea (I am not claiming to be the first) to have form elements I want to update via MySQL starting with either "-" or "+". Example: +name=DAN [EMAIL PROTECTED] -notes= id=1 The first 2 are required and will be updated, the 3rd is optional and will be updated and the 4th (id) is simply passed as form data. The idea here is that I parse the $_POST variable to auto create a "UPDATE table SET name = 'Dan', email = '[EMAIL PROTECTED]' WHERE = 1" string for MySQL. The issue is that if I use the "+" to indicate a required field for error trapping my $_POST array ends up like this: +namD=AN [EMAIL PROTECTED] -notes= id=1 If a change to any other character (* for example) it work fine. Either this is a PHP / HTTP bug or I am up against some strange post naming restriction. I searched the web, the PHP site (includeing the bugs) and could not spot an obvious reference. Dan ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20116&edit=1