"; print_r($_SESSION); //echo "session"."
"; print_r($_REQUEST);

//echo $imgBoothName =$arrBoothName['nameWithImage']; 
if(!empty($_SESSION['freecap_word_hash']) && !empty($_POST['word']))
{

//echo "
"; print_r($_SESSION);
//echo "session"."
"; print_r($_REQUEST);
//exit;
	// all freeCap words are lowercase.
	// font #4 looks uppercase, but trust me, it's not...
	if($_SESSION['hash_func'](strtolower($_POST['word']))==$_SESSION['freecap_word_hash'])
	{
		// reset freeCap session vars
		// cannot stress enough how important it is to do this
		// defeats re-use of known image with spoofed session id
		$_SESSION['freecap_attempts'] = 0;
		$_SESSION['freecap_word_hash'] = false;


		// now process form


		// now go somewhere else
		// header("Location: somewhere.php");
		$word_ok = "yes";
	} else {
		$word_ok = "no";
	}
} else {
	$word_ok = false;
}

if($word_ok!==false)
{
	if($word_ok=="yes")
	{
		if (isset($_POST['submit'])) {
				//echo "hi";exit;
			if (!$name || !$phone || !$email) {
			$error = "Sorry, you did not fill out required information

"; } else { //CONSTRUCT AND SEND EMAIL-------------------------------------------------------------------------------------------------------------------------- $to =$_POST['email']; $mailheaders = "From: ".$to."\n"; //$mailheaders = "From: $email\n"; $mailheaders .= "Reply-To: ".$_POST['email']."\n"; $mailheaders .= "MIME-Version: 1.0\n"; $mailheaders .= "Content-type: text/html; charset=iso-8859-1\r\n"; $msg = "
A visitor has filled out the website contact form.
Name: ".$_REQUEST['name']."
Company: $company
Email: $email
Address: $address
City: $city
State: $state
ZIP: $zip
Product: $product
Phone: $phone
How to contact: $how_to_contact
Referred by: $find_us
Comments: $comments
"; //exit; $to = "tradeshowinfo@firsttradeshow.com"; //$to = "uday@mosaic-service.com"; $subject = "FirstTradeShow.com Contact Form"; //$mailheaders = "From: $email"; mail($to, $subject, $msg, $mailheaders); header("Location: contact_redirect.php"); exit; } //end if } } else { //echo "sorry, that's not the right word, try again.
"; echo $msg=' '; } } //if ($form_submit == "yes") /*if (isset($_POST['submit'])) { //echo "hi";exit; if (!$name || !$phone || !$email) { $error = "Sorry, you did not fill out required information

"; } else { $key=substr($_SESSION['key'],0,5); //echo $key,$number; //die("ok"); if($key!=$number) { $error = '
Validation string not valid! Please try again!
'; } else { //CONSTRUCT AND SEND EMAIL-------------------------------------------------------------------------------------------------------------------------- $to =$_POST['email']; $mailheaders = "From: ".$to."\n"; //$mailheaders = "From: $email\n"; $mailheaders .= "Reply-To: ".$_POST['email']."\n"; $mailheaders .= "MIME-Version: 1.0\n"; $mailheaders .= "Content-type: text/html; charset=iso-8859-1\r\n"; $msg = "
A visitor has filled out the website contact form.
Name: ".$_REQUEST['name']."
Company: $company
Email: $email
Address: $address
City: $city
State: $state
ZIP: $zip
Phone: $phone
How to contact: $how_to_contact
Referred by: $find_us
Comments: $comments
"; //$to = "tradeshowinfo@firsttradeshow.com"; $to = "mohit@mosaic-service.com"; $subject = "FirstTradeShow.com Contact Form"; //$mailheaders = "From: $email"; mail($to, $subject, $msg, $mailheaders); header("Location: contact_redirect.php"); exit; } //end if } //end if }*/ ?> First Trade Show

Request Quote

Get Prices For Our Products

Request Quote

Contact Information

  • />
  • click here