bcdusa dot com    
    Tel. +1.405.843.4574  800-BCD-MPEG (800-223-6734)

     Video & Time Code Control Systems
DVD Button & RS-232 Controllers
DVD Production

DVD Control RS-232, pushbutton, DVD recorder RS232, SMPTE Time Code, VITC Time Code
    - BCD Home -
 
  
- BCD's QuickInfo -
How Can We Help You?
'; $section = htmlentities($_POST['section']); $type = htmlentities($_POST['type']); $inq_id = htmlentities($_POST['inq_id']); $fname = htmlentities($_POST['fname']); $lname = htmlentities($_POST['lname']); $email = htmlentities($_POST['email']); $title = htmlentities($_POST['title']); $organization = htmlentities($_POST['organization']); $address = htmlentities($_POST['address']); $address2 = htmlentities($_POST['address2']); $city = htmlentities($_POST['city']); $state = htmlentities($_POST['state']); $zip = htmlentities($_POST['zip']); $country = htmlentities($_POST['country']); $phone = htmlentities($_POST['phone']); $fax = htmlentities($_POST['fax']); $comments = htmlentities($_POST['comments']); $urgency = htmlentities($_POST['urgency']); $updated = htmlentities($_POST['updated']); $interested = htmlentities($_POST['interested']); $remove = htmlentities($_POST['remove']); $productref = htmlentities($_POST['productref']); $referer = htmlentities($_POST['referer']); $source = htmlentities($_POST['source']); $sal = htmlentities($_POST['sal']); $mname = htmlentities($_POST['mname']); $suffix = htmlentities($_POST['suffix']); $taker = htmlentities($_POST['taker']); // $ = htmlentities($_POST['']); echo $email.'
'; /* $searchtype = htmlentities($_POST['searchtype']); $searchterm = htmlentities($_POST['searchterm']); $searchterm2 = htmlentities($_POST['searchterm2']); $admin_user = htmlentities($_POST['admin_user']); */ if ($section == 'check_it') { // if ( (!isset($phone1) || ($phone1=="") || (!isset($email) || ($email=="") ) { if ( (!isset($email)) || ($email=="") ) { unset($check_it); unset($section); // echo '









'; // echo '









'; echo 'Please...

'; echo 'In order to respond promply, we need your Email address.

'; echo 'Please click the button, add your Email address.

'; echo '

Return to Form to Add Information
'; exit; } } if ($section == 'check_it') { $debug = 0; // ================== check_ it database ================= // include $path."/db_inq.php"; include "db_inq.php"; $table="tbl_inquiry"; $type="new"; $updated=date("Y-m-d"); //last update $interested="y"; $max_fields=27; if ($source == "Other") $source = $source2; // default values $db = mysql_connect($hostname, $user, $pwd); if (!$db) { echo "Error: Could not connect to database for Writing."; exit; } mysql_select_db($dbase); $query = "INSERT into $table VALUES ('".$type."', '".$inq_id."', '".$fname."', '".$lname."', '".$email."', '".$title."', '".$organization."', '".$address."', '".$address2."', '".$city."', '".$state."', '".$zip."', '".$country."', '".$phone."', '".$fax."', '".$comments."', '".$urgency."', '".$updated."', '".$interested."', '".$remove."', '".$productref."', '".$referer."', '".$source."', '".$sal."', '".$mname."', '".$suffix."', '".$taker."')"; if ($debug==1) { echo $query; echo "
"; } $result = mysql_query($query); if (!$result) { echo "

Could not get initial database read. ".$field_name[$i]."
"; echo mysql_errno() . ": " . mysql_error() . "
"; } if ($debug==1) echo "affected rows ".mysql_affected_rows()."
"; $last_row = mysql_insert_id(); if ($debug==1) echo 'New id is '.$last_row.'
'; // $num_fields = mysql_num_fields($result); // if ($debug==1) echo 'num_fields='.$num_fields.'
'; // $debug=1; // ====================================================== // echo "Done...
"; // ============== end check_it database ========================= // ================== check_ it email ================= if (!$referer) { $referer= getenv('HTTP_REFERER'); if ($debug==1) echo 'No Referer, so now it is '.$referer; } // echo '

'; echo '
'; echo ''; echo ''; echo ''; echo ''; echo '
'; if (!isset($subject)) $subject = "BCD Web Inquiry ".$productref; if ( (!isset($fname)) || ($fname == "") ) $fname=$email; $fname = stripslashes($fname); $lname = stripslashes($lname); $subject = stripslashes($subject); $comments = stripslashes($comments); // Email // echo "Sending data... Code=".$code; $toaddress = "Web.Inq@bcdusa.com"; // $headers = "From: '".$fname." ".$lname."' <".$email.">\r\n"; $headers = "From: ".$fname." ".$lname." <".$email.">\r\n"; // $headers .= "Subject: ".$subject."\r\n"; $headers .= "Cc: diane711@cox.net\r\n"; // $headers .= "Cc: forward@bcdusa.com\r\n"; $headers .= "Cc: bcdbob@gmail.com\r\n"; /* additional headers */ // $headers = "From: '".$fname." ".$lname."' <".$email.">\r\n"; $mailcontent = "Name: ".$sal." ".$fname." ".$lname." ".$suffix."\n" ."Email ".$email."\n" ."ProdRef ".$productref."\n" ."Title: ".$title."\n" ."Organization: ".$organization."\n" ."Address: ".$address."\n" ." ".$address2."\n" ."City, ST, Zip.: ".$city." ".$state." ".$zip."\n" ."Country ".$country."\n" ."Phone1 ".$phone."\n" ."Fax ".$fax."\n" ."Comments ".$comments."\n" ."Urgency ".$urgency."\n" ."Source ".$source."\n" ."\n\n file: bcdform_m_head.php\n"; // $fromaddress = "From: '".$fname." ".$lname."' <".$email."> \n"; $fromaddress = "From: ".$fname." ".$lname." <".$email."> \n"; if ($debug == 1) { echo '
toaddress '; echo $toaddress; echo '
subject '; echo $subject; echo '
mailcontent'; echo $mailcontent; echo '
headers '; echo $headers; echo '
fromaddress '; echo $fromaddress; echo '
'; } // ERROR error bug this evaluates as FALSE but message is really sent if (!mail($toaddress, $subject, $mailcontent, $headers, $fromaddress)) { // echo "Msg not sent. Please use 'Back' and try again."; } // echo "... Sent. "; // echo 'end send email'; // ================== end check_ it email ================= echo '
'; // include $path."/nav/bcdmenu.php"; // echo '
ref_temp='.$ref_temp; // echo '
referer='.$referer.'
'; // echo '
productref='.$productref; // echo '









'; //echo '









'; echo '

'; echo "

Thank you, ".$fname." !

"; echo "We appreciate your interest !

"; echo '
'; echo '
'; if ($response = "emailonly") { echo ''; echo '
Click here to
'; echo' Return to Where You Were
'; } else { echo ''; echo '
Return to Where You Were
'; } echo '
'; echo '
'; // end checkit echo '
'; echo '
'; //php end of big overall main table } else { ?>
BCD Associates, Inc.
128 NW 67th St.
Oklahoma City, OK 73116
405-843-4574
Use this QuickInfo for fast answers to your questions. ...
or call us at 405-843-4574, 800-223-6734 (800-BCD-MPEG)

We value your privacy. Your information is private and it stays with us. From time to time we may send you notices of new product and updates, but only occasionally. If you want to be removed from future emailings, just choose Remove from List below.

Feature Requests: Our products don't have everything that everyone wants, so please scroll down to the Comments box and tell us what you'd like to have.

The only required field is your email address.
Email:*
* = required
First Name: Last Name:
Primary Product Interest:
   If your interest is not listed, please choose "Other" and explain in Comments. '; ?>
Your Title/Position:
Organization Name:
Address1, Address2:
City, State/Province, Zip/Postal Code:
Country:
Daytime Phone:
Fax Number:
How did you hear about BCD?
   If you selected "Other", please specify:
Questions? Comments?
Please include your phone number above if you'd like a call back.  

Tell us the details of your project.

Request Urgency:
I no longer want to receive information from BCD.
Remove me from the Update List