|
Posted by Oli Filth on 11/11/05 18:09
Greg Scharlemann said the following on 11/11/2005 16:05:
>>What happens if you output the following variables?
>>$_GET["password"]
>>$_POST["password"]
>>$_COOKIE["password"]
>>
>
>
> Looks like it's from a cookie... if I'm not using cookie's how does
> that work?
>
I bet you have a cookie called "password" set in your browser for this
domain. Check it in your browser and see.
By default, in $_REQUEST, cookie variables override POST variables,
which override GET variables.
For this reason, it's generally safer to use $_GET, $_POST and $_COOKIE
explicitly.
--
Oli
Navigation:
[Reply to this message]
|