Created
August 1, 2016 13:57
-
-
Save brad-anton/bfcbfc9419c0f20a32fb898a87fe7695 to your computer and use it in GitHub Desktop.
User input can overwrite variables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while(list($key, $val) = each($_POST)) { | |
$GLOBALS[$key] = $val; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment