Skip to content

Instantly share code, notes, and snippets.

@brad-anton
Created August 1, 2016 13:57
Show Gist options
  • Save brad-anton/bfcbfc9419c0f20a32fb898a87fe7695 to your computer and use it in GitHub Desktop.
Save brad-anton/bfcbfc9419c0f20a32fb898a87fe7695 to your computer and use it in GitHub Desktop.
User input can overwrite variables
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