Bug #10295 Updated: Cookie Problem. Cookie value overrides variable with same name passed in form.
| From: | derick@php.net | Date: | Wed, 11 Apr 2001 21:11:24 +0000 |
| Subject: | Bug #10295 Updated: Cookie Problem. Cookie value overrides variable with same name passed in form. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51471@lists.php.net to get a copy of this message | ||
ID: 10295
Updated by: derick
Reported By: mike@xamo.com
Old-Status: Open
Status: Bogus
Bug Type: *Session related
PHP Version: 4.0.4pl1
Assigned To:
Comments:
You can set these preferences in php.ini, the variables_order parameter.
Previous Comments:
---------------------------------------------------------------------------
[2001-04-11 17:05:21] mike@xamo.com
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!
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10295&edit=2