&pass=5&ids=1,3,4,5,60&ip=127.0.0.8 * * request [GET or POST] * ------------------ * user username as registered with our system * pass password that you use to login. * ids record id of the A or PTR record you'd like to update. * an id list can be separated by a commas (","). * ip IP address for this record. * * response [text/plain] * ----------------------------------------------- * code description * ----------------------------------------------- * success update successfull * not_authorized authentication failure * failure invalid request * record(s) not found * not authorized * server error * etc * * NOTE: need php > 4.3 for the https protocol wrapper. * no oinking, use at your own risk */ function get( $url ) { $rsp = ""; $fp = fopen( $url,"r"); if( !$fp ) { $rsp = "can't get " . $url; } else { while( !feof( $fp ) ) $rsp .= fgets( $fp, 1000 ); } fclose( $fp ); return trim( $rsp ); } $msg = ""; if( $go ) { print( "

updating your dns

" ); flush(); if( !$ids || !$ip || !$user || !$pass ) { $msg = "your missing some params..."; } else { $msg = get( "https://the.widge.net/dynupd?user=".$user."&pass=".$pass."&ids=".$ids."&ip=".$ip ); } } if( $msg == "" ) { $ids = "1"; $ip = get( "http://the.widge.net/ip" ); $user = "your_username"; $pass = "your_password"; } ?>

you can set up defaults in the script
your widge username
your widge password
single or comma seperated list of rr ids
your ip, hopefully where were able to look this up.