Advertisement
Achilles

Untitled

Jul 3rd, 2013
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. X
  2.  
  3. The precedence of values is important in this case. Declaring an index in $_COOKIE, $_POST, and
  4. $_GET with the same name could cause confusion for new developers. $_REQUEST causes $_COOKIE to
  5. override both $_POST and $_GET. If $_COOKIE does not contain the variable name, $_POST will override
  6. $_GET. For example, if you set the action attribute to test.php?username=agetvariable, you won’t see any
  7. 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