From: marcus at names dot co dot uk Operating system: RedHat Linux 7.2 PHP version: 4.3.1 PHP Bug Type: Variables related Bug description: Post variables problem with CGI version
When running 4.3.1 as a CGI binary, with register_globals set to 'on', the first post variable contains all post variables. For example, if you have a form with the variables (fields) and values var1=1, var2=2, var3=3, the following variables are set in the target script: var1=1&var2=2&var3=3 var2=2 var3=3 I am running the CGI under Zeus Web Server 4.2. I am not sure whether the $HTTP_POST_VARS array is set correctly, and cannot check this as I have had to revert back to 4.2.3. -- Edit bug report at http://bugs.php.net/?id=22920&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22920&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22920&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22920&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22920&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22920&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22920&r=support Expected behavior: http://bugs.php.net/fix.php?id=22920&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22920&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22920&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22920&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22920&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22920&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22920&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22920&r=gnused