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 | |
// This script receives DDNS updates via HTTP | |
// example: http://server/ddns-api.php?name=home = updates home.domain.com to IP of requester | |
define('DDNS_DATA_FILE', '/home/ddns/ddns.json'); | |
define('DDNS_DOMAIN', 'example.com'); | |
header("Content-type: text/plain"); |