if($_POST){ /*************** config *******************/ // for ultimate security, use this instead of using the form $recipient = "customer@sundraprinting.com"; // youremail@domain.com // bcc emails (separate multiples with commas (,)) $bcc = ""; // the are the variables that are usually hidden fields $MAX_FILE_SIZE = 1000000; $path_to_file = "../upload"; $require = "name,email,company,phone,print_job_detail,date_needed"; $env_report = ""; $redirect = "process/estimate_thank.html"; $subject = "Request Estimate"; // referers.. domains/ips that you will allow forms to // reside on. // since i have places the variables above, there is no need to check the referer //$referers = array (''); // banned emails, these will be email addresses of people // who are blocked from using the script (requested) $banlist = array (); // the url to the error page $err_page = 'process/form_error.php'; $err_color = '#000000'; $err_bg_color = '#FF0000'; // format your email 1=html, 0=text $usehtml = 1; // the wrapper template for your email, if set. $emailtpl = 'process/emailtpl.html'; /*************** question index *******************/ // the key if the below array should match the name of the form field //name,email,company,phone,website,desc,budget $q_idx['name'] = 'Name'; $q_idx['email'] = 'Email Address'; $q_idx['company'] = 'Company'; $q_idx['phone'] = 'Phone Number'; $q_idx['website'] = 'Current Website'; $q_idx['print_job_detail'] = 'Print Job Description'; $q_idx['quantity'] = 'Quantity?'; $q_idx['numofpages'] = 'Number of pages '; $q_idx['date_needed'] = 'Date Needed'; $q_idx['bindery'] = 'Bindery'; $q_idx['file_type'] = 'What software was used to create job? '; /*************** gotmarketing settings *******************/ // settings to signup the user to gotmarketing // url to send the info to $gm['url'] = ''; // the val array holds each field that gets submitted // the key is the name of the field and the val is what you want to pass to gotmarketings $gm['val']['OILB_48688'] = $_REQUEST['company']; $gm['val']['OILB_EMAIL'] = $_REQUEST['email']; require("process/emailme.php"); } else { theform(); } function theform($err=0){ ?>