NOTE: Only Russians/Romanians/Argentians/USA can pid!
need a curl script to visit [url removed, login to view] and visit edit DNS links and update the IP's taken out from the DB...i have the function ready but it does for the 1st dns, therefore you need it to make it find all other 4 dns'es and edit them as well... here is the function.
problem in this is that it just finds the ID of the 1st dns and visits it via curl and edit it...i need it to find other 4 ids as well and visit them in a loop.
function moniker_modify_child_dns ($ip, $ns, $domain, $cookie)
$host = "[url removed, login to view];;
$data = curl_string ($host, '', $cookie);
preg_match("/cmdaction=editns&ID=([0-9]+)"/msi", $data, $matches);
$id = $matches;
$host = '[url removed, login to view];cmdaction=editns&ID=' . $id . '';
$form = array ();
$form = array ('cmd', 'manage_nameserver');
$form = array ('cmdaction', 'save');
$form = array ('ID', $id);
$form = array ('ipaddress', $ip);
foreach ($form as $subarray)
$bar = $subarray;
$foo = $subarray;
$bar = urlencode ($bar);
$form = $foo . '=' . $bar;
$urlstring2 = join ('
$urlstring2 = ereg_replace ('Array ', '
$urlstring = ereg_replace ('
', '&', $urlstring2);
$data = curl_string ($host, $urlstring, $cookie);
$file = fopen('[url removed, login to view]', 'a');
$data = parse_output ($data);
make sure no crazy amount bids, i know what i wrote and how long it should take if ur expert!