Created
September 20, 2016 17:33
-
-
Save markbiek/c8fbf6ba0ccc184dbefb383a021c6ac7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| <?php | |
| //Check to make sure the token is valid | |
| if (!isset($_POST['token']) || $_POST['token'] != SLACK_TOKEN) { | |
| throw new Exception("Shenanigans!"); | |
| } | |
| echo "Hello World!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment