| 
 
Designed to delete cPanel subdomains on cPanel hosting.
Input: 
cPanel account usernamecPanel account passwordcPanel skin (see  How to determine cPanel skin for more info on how to find out your cPanel skin name)list of subdomains to be deleted in the plain text file (for bunch subdomains delete) Update program header with above settings and script is ready to use.
Usage:  (you can use this script in either way)
 
Note:Open script in browser and fill the form dataPass all information via URL (form will not appear in this case)Example: subdel.php?cpaneluser=USER&cpanelpass=PASSWORD&domain=DOMAIN&subdomain=SUBDOMAIN
List all subdomains to be deleted in the plain text file  
If script cannot find file with subdomains and no parameters passed via URL
then it will show input form.
 | 
Only thing I had to change was the following line:
$request = "/frontend/$cpanel_skin/subdomain/dodeldomain.html?domain=".$domain."_".$subd;
to
$request = "/frontend/$cpanel_skin/subdomain/dodeldomain.html?domain=".$subd."_".$domain;
Not sure if this was a version difference or what ..
Great code and a greater coder! Would love to do some work with you sometime.
Cheers