Black Friday promo up to -50% Time left:

Edit contact details

With this script you can edit the contact details of multiple domain names. You can download it from here.

Configuration

1. AUTH_ID should be your API user ID AUTH_PASS should be the password of your API user.

Example:

// Auth ID and Password
define("AUTH_ID", 0);
define("AUTH_PASS", "xxxxx");

2. In the $domains variable you have to add a list of all the domains, that you want to change the contact details of, one domain per line.

Example:

// list of the domain names whose contacts will be changed
$domains = array(
'domain1.com',
'domain2.com',
);

3. You have to point out which contact details, you want to be changed, also in a form of variables. You can see all the variables, that can be changed from here. They should be entered after the $domains variable.

Here is an example, by editing the address and zip code, in the contact information:

$address = 'Some address';
$zip = '000';

Usage

When you are ready with your configuration, you can run the script with the following command:

php edit-contact-details.php

Output

The script will output the number of domains, to which their contact details have been changed and whether they are changed successfully or not.

Possible problems

  • If your API user ID or Password is incorrect, you will get an error message.
  • If you have entered an invalid domains in the list, their contact details wont be changed.

Last modified: 2019-07-04
Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more