44 users online | 44 Guests and 0 Registered

Edit Domain Contact


require_once 'inc/jsonRPCClient.php';

$resellAPI = new jsonRPCClient('http://api.resell.al/server.php');

try {


$postfields = array();

$postfields[Username] = "name@webhost.al";

$postfields[Password] = "*****";



//--------------- EDIT DOMAIN CONTACT 

$postfields["firstname"]    = "Newname";
$postfields["lastname"]     = "newlastname";
$postfields["companyname"]  = "Organisation";

$postfields["address1"]     = "Rr Frederik Shiroka";
$postfields["address2"]     = "33";
$postfields["city"]         = "Tirana";
$postfields["state"]        = "Tirana";
$postfields["postcode"]     = "1010";
$postfields["country"]      = "AL";
$postfields["email"]        = "info@yahoo.com";
$postfields["phonenumber"]  = "+355.67000000";


$postfields["tld"] = "al";
$postfields["sld"] = "testdomain";


$result = $resellAPI->EditDomainContacts($postfields);

  

} catch (Exception $e) {

echonl2br($e->getMessage()).'<br />'."\n";

}
Tags: Edit Domain Contact
Last update:
2013-10-07 01:14
Author:
admin
Revision:
1.1
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.