Your reseller login or password was incorrect. Please try again."; } else { $row_accounts = mysql_fetch_array($result); $username = "globalhost"; $password = "blcdue0e"; $sld = $HTTP_POST_VARS[sld]; $tld_key = $HTTP_POST_VARS[tld_key]; $sql = "select * from domain_tld where site_pkey = 3"; $result = mysql_query($sql); while( $row_tld = mysql_fetch_array($result) ) { if($row_tld[pkey] == $tld_key) $tld = $row_tld[tld]; } $sql = "select pkey from domains where name like '$sld.$tld'"; $result = mysql_query($sql); $num = mysql_num_rows($result); if($num == 0) { $sql = "insert into domains (account_pkey, name, start_date, server_pkey, domain_status, active_inactive) values ('$row_accounts[pkey]', '$sld.$tld', now(), '$row_accounts[server_pkey]', 'transfer', 'active')"; mysql_query($sql); $domain_pkey = mysql_insert_id($link); } else { $row_domain = mysql_fetch_array($result); $domain_pkey = $row_domain[pkey]; } include("enom_api.inc"); $Enom = new CEnomInterface; $Enom->AddParam("UID", $username); $Enom->AddParam("PW", $password); $Enom->AddParam("DomainCount", 1); $Enom->AddParam("OrderType", "Autoverification"); $Enom->AddParam("SLD1", $sld); $Enom->AddParam("TLD1", $tld); $Enom->AddParam("Lock", 1); $Enom->AddParam("command", "TP_CreateOrder"); $Enom->DoTransaction(); $error_count = $Enom->Values[ "ErrCount" ]; if($error_count != 0) { $body = "We got $error_count errors: \n"; for($i = 1; $i <= $error_count; $i++) { print "
"; $body .= $Enom->Values["Err$i"]; $body .= "\n"; } } $done = $Enom->Values[Done]; $order_id = $Enom->Values[transferorderid]; if(!$order_id or !$done) $order_id = "ERROR: API failed to initiate registrar transfer\n\n$body"; $sql = "insert into domain_transfers set domain_pkey = '$domain_pkey', comments = '$order_id', date = now(), created = now(), who = 'globalhost', reg_trans = 'yes'"; mysql_query($sql); $message = "

Thank you. We will request the transfer of $sld.$tld right away."; $to = "enom@globalhost.com"; $subject = "HostHost Registrar Transfer"; $mailheaders = "From: domains@hosthost.com"; $body = " Name: $row_accounts[first] $row_accounts[last] Domain: $sld.$tld $body "; mail($to, $subject, $body, $mailheaders); } } ?> Welcome to Host Host

 
 
REGISTER A DOMAIN
 

Why Transfer?
1. Get your transfer done for just $10.95!
2. Consolidate your web accounts. Don't let your domain registration expire just because you lost touch with the     registrar.
3. Get peace of mind. Your transfer includes one full year of registration, added on to your current registration     period. So act now and relax that much longer.

 
Reseller Information
 Reseller Login:  
  Reseller Password:  

Domain Information:
Domain Name: http://www.     "; $sql = "select * from domain_tld where site_pkey = 3"; $result = mysql_query($sql); while( $row_tld = mysql_fetch_array($result) ) { print "";}?>
 
 
 
 
© Copyright 1999 - 2005, All Rights reserved by Hosthost