Login Names must be at least three (3) characters
"; $bContinue = false; } elseif (ereg("[^a-z]",$_POST["fields"]["host_name"])) { $msg = "Your Login Name can only contain lowercase letters. No numbers, spaces, or other characters.
"; $bContinue = false; } elseif (strlen($_POST["fields"]["password"]) < 3) { $msg = "Password must be at least four (3) characters
"; $bContinue = false; } elseif ($_POST["fields"]["host_name"]=="www" || substr($_POST["fields"]["host_name"],0,4)=="demo") { $msg = "The Login Name you have chosen is already being used. Please select another one.
"; $bContinue = false; } else { $SQL = "SELECT u.password, p.auth_code FROM users u LEFT JOIN pmts p ON (u.user_num=p.idx) WHERE u.host_name='".$_POST["fields"]["host_name"]."'"; $row = sql_get_row($SQL); if (count($row)) { if ($_POST["fields"]["password"] != $row["password"]) { $msg = "The Login Name you have chosen is already being used. Please select another one.
"; $bContinue = false; } else { if ($row["auth_code"] != "") { $msg = "You are already set up. To modify your account go to: ".hyperlink("http://".$_POST["fields"]["host_name"].".blastbuilder.com/client","http://".$_POST["fields"]["host_name"].".blastbuilder.com/client")."
"; $bContinue = false; } } } } if ($bContinue) { // Start a record for the person in the user table $SQL = "INSERT INTO users SET meta_desc='Enter META Description Here', host_name='".$_POST["fields"]["host_name"]."', password='".$_POST["fields"]["password"]."'"; $pointer = mysql_query($SQL,$db_link); mysql_free_result($pointer); // Start a record for the person in the content table $SQL = "INSERT INTO content SET host_name='".$_POST["fields"]["host_name"]."'"; $pointer = mysql_query($SQL,$db_link); mysql_free_result($pointer); // Start a record for the person in the pages table $SQL = "INSERT INTO pages SET host_name='".$_POST["fields"]["host_name"]."'"; $pointer = mysql_query($SQL,$db_link); mysql_free_result($pointer); include("step1.php"); exit; } } require(ROOT_DIR."/includes/skins/header.tpl.php"); ?>


Choose a Login Name and Password

Your Login Name will become part of your URL for accessing your Web site. For example, if you choose a login name of "john" the URL to your Web site will be http://john.blastbuilder.com or http://www.john.blastbuilder.com (either will work). You will use your Login Name and Password to manage your new Web site.

NOTE: Your Login Name may only contain lowercase letters
and your Login Name and Password must be at least 3 characters.
Login Name:
Password: