register("securityCode");
// generate a new security code
$chars = array(
"a","A","b","B","c","C","d","D","e","E","f","F","g",
"G","h","H","j","J","k","K","m","M","n","N","p","P",
"r","R","s","S","t","T","u","U","v","V","w","W","x",
"X","y","Y","z","Z","2","3","4","5","6","7","8","9"
);
$length = 6;
$textstr = "";
for ($i=0; $i<$length; $i++) {$textstr .= $chars[rand(0, count($chars)-1)];}
$_SESSION["securityCode"] = $securityCode = $textstr;
// check for loopback errors
$hline = "";
if ($_GET["error"] && $_GET["error"]=="1" && $_SESSION["regerror"]) {
$statDetails = $_SESSION["regerror"]."\n".$_SESSION["regdata"]."\n";
if (strpos("|||",$_SESSION["regerror"])) {$err = explode("|||",$_SESSION["regerror"]);}
else {$err[0] = $_SESSION["regerror"];}
list($name,$company,$contacthow,$contacthours,$contactzone,$email,$phone1,$phone2,$phone3,$message) = explode("|||",$_SESSION["regdata"]);
$hline = "ERRORS were found in the following fields - please correct and resubmit ...
";
for ($i=0;$i
if (basename($_SERVER["PHP_SELF"])!="index.html") {?>![]() ![]() ![]() |
![]() |
require_once("includes/login2.inc.php"); ?> | |||||
---|---|---|---|---|---|---|---|
require_once("includes/topnav-1.inc.php"); ?> | |||||||
include_once("includes/leftproductsnav.inc.php"); ?>
|
|
||||||
include_once("includes/bottomnav-1.inc.php"); ?> | |||||||
include_once("includes/footer-1.inc.php"); ?> |