Skip to content

Instantly share code, notes, and snippets.

@awestmoreland
Created May 24, 2016 04:10
Show Gist options
  • Save awestmoreland/86adc32acbced023301ba219e08837b3 to your computer and use it in GitHub Desktop.
Save awestmoreland/86adc32acbced023301ba219e08837b3 to your computer and use it in GitHub Desktop.
<?php
if($_POST['token'] == $my_expected_token) {
$user_name = $_POST['user_name'];
echo "Hey, $user_name! You talk to your mother with that mouth?";
}
else {
// GTFO
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment