Web Hosting Talk







View Full Version : Batch Domain Addon/Park script


koin
08-02-2009, 05:44 PM
looking for a script to mass park a provided list of domains to my cpanel.

I know some scripts exist, I even found this via google:

<?php
$user = "cpanel username";
$pass = "cpanel password";
$domain = "cpanel domain or ip address";
$theme = "x"; // cpanel theme, usually x
$domains = file("domains.txt");

foreach($domains as $pdomain) {
file_get_contents("http://$user:$pass@$domain:2082/frontend/$theme/park/doaddparked.html?domain=$pdomain");
}
?>


I don't really like that though...I also found this:

http://www.easydomaincreator.com/edcsalespage.html

site says it's no longer for sale though.

hit me up if you have any ideas!