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
#!/bin/bash | |
# This script is used to check and update your GoDaddy DNS server to the IP address of your current internet connection. | |
# Special thanks to mfox for his ps script | |
# https://github.com/markafox/GoDaddy_Powershell_DDNS | |
# and r0b0t at | |
# https://www.godaddy.com/community/Managing-Domains/Dynamic-DNS-Updates/td-p/7862/page/2 | |
# | |
# First go to GoDaddy developer site to create a developer account and get your key and secret | |
# |
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 | |
// use composer to ‘require signalwire/signalwire’ | |
require_once 'vendor/autoload.php'; | |
// record input PLEASE CLEAN INPUT BEFORE HANDLING | |
syslog(LOG_WARNING, print_r($_POST, true)); | |
syslog(LOG_WARNING, "MessageSid: ".$_POST["MessageSid"]); |