Re: [openSRS-PHP-dev] Nameservers in sw_register
Brought to you by:
cviebrock
From: Arthur H. J. I. <ar...@ab...> - 2005-06-03 02:55:56
|
I'll have to check that out. I thought I tried that and it didn't work. Here is the code I used to get it to work: 'custom_nameservers' => '1', 'fqdn1' => $primarydns, 'fqdn2' => $secondarydns, On Thu, 2 Jun 2005, Colin Viebrock wrote: > $cmd['attributes']['nameserver_list'] = array( > array( > 'name' => 'ns1.example.com', > 'sortorder' => 1 > ), > array( > 'name' => 'ns2.example.com', > 'sortorder' => 2 > ), > array( > 'name' => 'ns3.example.com', > 'sortorder' => 3 > ) > ); > > - Colin > > > > On 2-Jun-05, at 1:48 PM, Arthur H. Johnson II wrote: > > > > > I'm trying to change name server in sw_register routine from the > > default > > up on OpenSRS. Here is the origional code: > > > > $cmd = array( > > 'action' => 'sw_register', > > 'object' => 'domain', > > 'attributes' => array( > > 'domain' => $seldomain, > > 'affiliate_id' => '', > > 'period' => $selprice, > > 'reg_username' => $username, > > 'reg_password' => $password, > > 'contact_set' => array( > > 'owner' => array( > > 'first_name' => $firstname, > > 'last_name' => $lastname, > > 'address1' => $address1, > > < CONTACT SET SHORTENED > > > 'org_name' => 'Able Team, Inc.', > > 'postal_code' => '48532', > > 'state' => 'MI', > > 'fax' => '810-244-9101', > > 'url' => '' > > ), > > > > ), > > ), > > > > How do I override the nameservers at opensrs? In other words, i want > > customers to be able to register with OTHER name servers, not just the > > ones in my opensrs profile. > > > > > > -- > > Arthur H. Johnson II > > CTO, AbleTeam.com > > ar...@ab... > > 810-244-9100 (voice) > > -- > > ICQ: 31770438 AIM: bytor4232 > > MSN: bytor4232 YIM: bytor4232 > > -- > > The city's central computer told you? R2D2, you know > > better than to trust a strange computer! ("C3PO") > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by Yahoo. > > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > > Search APIs Find out how you can build Yahoo! directly into your own > > Applications - visit > > http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > > _______________________________________________ > > opensrs-php-devel mailing list > > ope...@li... > > https://lists.sourceforge.net/lists/listinfo/opensrs-php-devel > > > -- Arthur H. Johnson II CTO, AbleTeam.com ar...@ab... 810-244-9100 (voice) -- ICQ: 31770438 AIM: bytor4232 MSN: bytor4232 YIM: bytor4232 -- The city's central computer told you? R2D2, you know better than to trust a strange computer! ("C3PO") |