"; //} // for($i=0; $i < $N; $i++) // { // echo($aDoor[$i] . " "); //$services //} $action = $_POST["action"]; $full_name = $_POST["full_name"]; $company = $_POST["company"]; $email = $_POST["email"]; $phone = $_POST["phone"]; $sourceip = $_SERVER['REMOTE_ADDR']; $comments = $_POST["comments"]; $yoursubject= "dialdigit communications: New PBX Demo"; $emailtext = " Full Name: $full_name Company: $company Telephone: $phone Email: $email Source IP : $sourceip Comments: $comments "; // if ($action == "process") { //if (isset($_POST['number'])) if ($_SESSION['number'] != $_POST['number']) { echo "Wrong value entered in code box!"; } elseif ( strlen($comments) > 50 || $full_name == "" || $email == "" || $company == "" || $phone == "" ) { echo "Error: You must fill out all required fields"; } else { //email $Email = "orders@dialdigit.com"; @mail("$Email", $yoursubject, $emailtext, "From: $email"); //insert into database //$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql'); //mysql_select_db($dbname); //$query1 = "insert into datasecure.accountinfo (custid,name,company,address,address2,city,state,country,zipcode,email,website,phone,bname,baddress,baddress2,bcity,bstate,bcountry,bzipcode,bemail,bphone,signeddate,testmode,signup_processed, //sourceip) values ('','$first_name $last_name','$company','$address1','$address2','$city','$state','$country','$zip','$email','$website','$phone','$first_name $last_name','$address1','$address2','$city','$state','$country','$zip','$email', //'$phone',now(),'true','0','$sourceip')"; //$result1 = mysql_query($query1); //$affectedrows1 = mysql_affected_rows(); //mysql_close($conn); #header("Location: signup.php?forms=y"); echo "
Thank you for your interest in our services, your request has been submitted.
"; } } ?>

Fields marked with an asterisk (*) are required.


   Please Enter The Following Information To Request a Demo
Full Name*
Company*
Email Address*
Telephone Number*
Enter Code Wrong value entered!"; ?>
Questions or Comments?
 
 
Copyright © 2006 dialdigit.com - IP PBX Systems VoIP Origination and Termination Wholesale Services