Skip to content

Instantly share code, notes, and snippets.

View depwl9992's full-sized avatar

Daniel Powell depwl9992

View GitHub Profile
@depwl9992
depwl9992 / ip-update.php
Last active February 25, 2017 00:11 — forked from agarzon/ip-update.php
ENOM IP Updater (PHP)
<?php
/** Fork from Agarzon's original version using beefed up cURL script and function calls */
function runEnom($zone, $pass) {
$sh = curl_init();
$url = "http://dynamic.name-services.com/interface.asp";
$get = array(
"Command"=>"SetDNSHost",
"Zone"=>$zone,
"DomainPassword"=>$pass
);