array ("post", "string", ""), "dns" => array ("post", "string", ""), "newisslave" => array ("post", "integer" ,0), "slavedom" => array ("post", "string" ,0), ); getFields($fields); $dom->lock(); if (!$dom->add_domain($newdomain,$dns,0,0,$newisslave,$slavedom)) { $error=$err->errstr(); include("dom_add.php"); exit(); } $dom->unlock(); ?>
show_help("add_domain"); ?>
dns)) {
echo "
"._("Whois result on the domain")." :
"; reset($dom->dns); while (list($key,$val)=each($dom->dns)) { echo "nameserver: $val\n"; } echo ""; } ?>