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
<?php | |
define("NOTIFO_SERVICE_USERNAME", "dicebot"); | |
define("NOTIFO_APISECRET", "xxxxxxxxxxxxxxxxxxxxxxx"); | |
include("Notifo_API.php"); | |
include("Notifo_Webhook.php"); | |
/* verify that the POST data is actually from notifo */ | |
if (Notifo_Webhook::verify_signature($_POST["notifo_signature"], $_POST, NOTIFO_APISECRET)) { |
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
<html> | |
<body> | |
<form name="themform" action="./notifo_form_submit.php" method="POST"> | |
Send a message to Stammy! | |
<p/> | |
<textarea rows=10 cols=30 name="message"> | |
Happy Birthday! | |
</textarea> |