Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- X
- The precedence of values is important in this case. Declaring an index in $_COOKIE, $_POST, and
- $_GET with the same name could cause confusion for new developers. $_REQUEST causes $_COOKIE to
- override both $_POST and $_GET. If $_COOKIE does not contain the variable name, $_POST will override
- $_GET. For example, if you set the action attribute to test.php?username=agetvariable, you won’t see any
- change in the username value because $_POST will override $_GET, even if the username field is left blank
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement