Bug #10295: Cookie Problem. Cookie value overrides variable with same name passed in form.
| From: | mike at xamo dot com | Date: | Wed, 11 Apr 2001 21:05:21 +0000 |
| Subject: | Bug #10295: Cookie Problem. Cookie value overrides variable with same name passed in form. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51470@lists.php.net to get a copy of this message | ||
From: mike@xamo.com
Operating system: Linux
PHP version: 4.0.4pl1
PHP Bug Type: *Session related
Bug description: Cookie Problem. Cookie value overrides variable with same name passed in form.
Save a cookie with variable "username". Give it a value.
Make a form with an input box named "username".
Submit the form to your script and read the value of username. It will contain the value of the
cookie, and not of the input form. Priority should work the other way around!
--
Edit Bug report at: http://bugs.php.net/?id=10295&edit=1