"; session_start(); if (isset($_POST['MM_insert']) && ($_POST['MM_insert'] == 'freeDownload')) { $captcha = 0; $code = $_SESSION['security_code']; $entered_code = $_POST['security_code']; if ($code != $entered_code) { $captcha = 1; } $error = 0; $fieldlist = array("lname", "fname", "email", "companyname", "jobtitle", "typeofbusiness", "companyname", "address1", "city"); for ($i=0; $i<=8; $i++) { if ($_POST[$fieldlist[$i]] == "") { $error = 1; } } if (($_POST['email']) <> ($_POST['confirmemail'])) { $emailerror=1; } if (($error == 1) || ($captcha == 1) || ($emailerror == 1)) { include_once('frm_aedgdownload.php'); echo "

"; } else { require_once('Connections/eee.php'); require_once('include/GetSQLValueString.php'); require_once('sql/add_downloader.php'); require_once('email.php'); require_once('confirmation.php'); } } else { require_once('frm_aedgdownload.php'); echo "

"; } ?>