Exemple #1
0
<?php

/*
    Contact Form from HTML Form Guide
    This program is free software published under the
    terms of the GNU Lesser General Public License.
    See this page for more info:
    http://www.html-form-guide.com/contact-form/simple-php-contact-form.html
*/
require_once "./include/fgcontactform.php";
$formproc = new FGContactForm();
//1. Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient('*****@*****.**');
//<<---Put your email address here
//2. For better security. Get a random tring from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('CnRrspl1FyEylUj');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        $formproc->RedirectToURL("thank-you.php");
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
      <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
      <title>Contact us</title>
      <link rel="STYLESHEET" type="text/css" href="contact.css" />
      <script type='text/javascript' src='scripts/gen_validatorv31.js'></script>
<?php

/*
    Contact Form from HTML Form Guide
    This program is free software published under the
    terms of the GNU Lesser General Public License.
    See this page for more info:
    http://www.html-form-guide.com/contact-form/simple-php-contact-form.html
*/
require_once "./include/fgcontactform.php";
$formproc = new FGContactForm();
//1. Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient('*****@*****.**');
//<<---Put your email address here
//2. For better security. Get a random tring from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('CnRrspl1FyEylUj');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        $formproc->RedirectToURL("thank-you.php");
    }
}
?>
<!DOCTYPE html>
<html lang="en">
	<head>
		<title>Tuition Web Design | Contact Us</title>
		<!-- Stylesheets -->
		<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />
		<!-- Favicon -->
<!DOCTYPE <?php 
/*
    Contact Form from HTML Form Guide
    This program is free software published under the
    terms of the GNU Lesser General Public License.
    See this page for more info:
    http://www.html-form-guide.com/contact-form/simple-php-contact-form.html
*/
require_once "./include/fgcontactform.php";
$formproc = new FGContactForm();
//1. Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient('*****@*****.**');
//<<---Put your email address here
//2. For better security. Get a random tring from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('CnRrspl1FyEylUj');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        $formproc->RedirectToURL("thank-you.php");
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
      <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
      <title>Contact us</title>
      <link rel="STYLESHEET" type="text/css" href="contact.css" />
      <script type='text/javascript' src='scripts/gen_validatorv31.js'></script>
</head>
/*
    Contact Form from HTML Form Guide
    This program is free software published under the
    terms of the GNU Lesser General Public License.
    See this page for more info:
    http://www.html-form-guide.com/contact-form/contact-form-attachment.html
*/
require_once "./include/fgcontactform.php";
require_once "./include/captcha-creator.php";
$formproc = new FGContactForm();
$captcha = new FGCaptchaCreator('scaptcha');
$formproc->EnableCaptcha($captcha);
//1. Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient('*****@*****.**');
//<<---Put your email address here
//2. For better security. Get a random tring from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('E6bZFICMgOfOnxI');
$formproc->AddFileUploadField('photo', 'jpg,jpeg', 20240);
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        $formproc->RedirectToURL("thank-you.php");
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
      <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
<?php

/*
    Contact Form from HTML Form Guide
    This program is free software published under the
    terms of the GNU Lesser General Public License.
    See this page for more info:
    http://www.html-form-guide.com/contact-form/simple-modal-popup-contact-form.html
*/
require_once "./include/fgcontactform.php";
require_once "./include/captcha-creator.php";
$formproc = new FGContactForm();
$captcha = new FGCaptchaCreator('scaptcha');
$formproc->EnableCaptcha($captcha);
//1.Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient('*****@*****.**');
//<<---Put your email address here
//2. For better security. Get a random string from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('dz0sbNoc7mZPgXa');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        echo "success";
    } else {
        echo $formproc->GetErrorMessage();
    }
}
Exemple #6
0
<?php

/*
    Contact Form from HTML Form Guide
    This program is free software published under the
    terms of the GNU Lesser General Public License.
    See this page for more info:
    http://www.html-form-guide.com/contact-form/creating-a-contact-form.html
*/
require_once "./include/fgcontactform.php";
$formproc = new FGContactForm();
//1. Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient('*****@*****.**');
//<<---Put your email address here
//2. For better security. Get a random tring from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('IKBh4ZbovyA0sH3');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        $formproc->RedirectToURL("thank-you.php");
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
      <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
      <title>Contact Me</title>
      <link rel="STYLESHEET" type="text/css" href="contact.css" />
      <script type='text/javascript' src='scripts/gen_validatorv31.js'></script>
Exemple #7
0
if (elgg_is_logged_in()) {
    $user = elgg_get_logged_in_user_entity();
    $sender_name = $user->name;
    $sender_email = $user->email;
    $sender_depart = $user->department;
}
require_once "./include/fgcontactform.php";
//require_once("./include/simple-captcha.php");
$email = elgg_get_plugin_setting('email', 'contactform');
//$list1=elgg_get_plugin_setting('list1','contactform');
$formproc = new FGContactForm();
//$sim_captcha = new FGSimpleCaptcha('scaptcha');
//$formproc->EnableCaptcha($sim_captcha);
//1. Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient($email);
//<<---Put your email address here
//2. For better security. Get a random tring from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('CnRrspl1FyEylUj');
$formproc->AddFileUploadField('photo', 'jpg,jpeg,gif,png,pdf,doc,docx,rar.zip,', 5120);
// Get post_max_size and upload_max_filesize
$post_max_size = elgg_get_ini_setting_in_bytes('post_max_size');
$upload_max_filesize = elgg_get_ini_setting_in_bytes('upload_max_filesize');
// Determine the correct value
$max_upload = $upload_max_filesize > $post_max_size ? $post_max_size : $upload_max_filesize;
$upload_limit = elgg_echo('file:upload_limit', array(elgg_format_bytes($max_upload)));
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        system_messages(elgg_echo('contactform:thankyoumsg'));
        forward("mod/contactform");
<?php

require_once "./include/fgcontactform.php";
require_once "./include/captcha-creator.php";
$formproc = new FGContactForm();
$captcha = new FGCaptchaCreator('scaptcha');
$formproc->EnableCaptcha($captcha);
$formproc->AddRecipient('*****@*****.**');
$formproc->SetFormRandomKey('IfqTnXtLvOmaZ0c');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        $formproc->RedirectToURL("thank-you.php");
    }
}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
      <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
      <title>Contact us</title>
      <link rel="STYLESHEET" type="text/css" href="contact.css" />
      <script type='text/javascript' src='scripts/gen_validatorv31.js'></script>
      <script type='text/javascript' src='scripts/fg_captcha_validator.js'></script>
</head>
<body>

<!-- Form Code Start -->
<form id='contactus' action='<?php 
echo $formproc->GetSelfScript();
?>
Exemple #9
0
/*
    Contact Form from HTML Form Guide
    This program is free software published under the
    terms of the GNU Lesser General Public License.
    See this page for more info:
    http://www.html-form-guide.com/contact-form/creating-a-contact-form.html
*/
require_once "./include/fgcontactform.php";
require_once "./include/captcha-creator.php";
$formproc = new FGContactForm();
$captcha = new FGCaptchaCreator('scaptcha');
$formproc->EnableCaptcha($captcha);
//1. Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient('ogreloat"gmail.com');
//2. For better security. Get a random tring from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('CnRrspl1FyEylUj');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        $formproc->RedirectToURL("thank-you.php");
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
      <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
      <title>Contact us</title>
      <link rel="STYLESHEET" type="text/css" href="contact.css" />
<?php

/*
    Contact Form from HTML Form Guide
    This program is free software published under the
    terms of the GNU Lesser General Public License.
    See this page for more info:
    http://www.html-form-guide.com/php-form/php-form-validation.html
*/
require_once "./include/fgcontactform.php";
require_once "./include/formvalidator.php";
$formproc = new FGContactForm();
//Initialize the contact form
$formproc->AddRecipient('*****@*****.**');
//<<---Put your email address here
$formproc->SetFormRandomKey('CnRrspl1FyEylUj');
$validation_errors = '';
if (isset($_POST['submitted'])) {
    // We need to validate only after the form is submitted
    //Setup Server side Validations
    //Please note that the element name is case sensitive
    $validator = new FormValidator();
    $validator->addValidation("name", "req", "Please fill in Name");
    $validator->addValidation("email", "email", "The input for Email should be a valid email value");
    $validator->addValidation("email", "req", "Please fill in Email");
    //Then validate the form
    if ($validator->ValidateForm()) {
        //If the validations succeeded, proceed with form processing
        if ($formproc->ProcessForm()) {
            $formproc->RedirectToURL("thank-you.php");
        }
Exemple #11
0
/*
    Contact Form from HTML Form Guide
    This program is free software published under the
    terms of the GNU Lesser General Public License.
    See this page for more info:
    http://www.html-form-guide.com/contact-form/creating-a-contact-form.html
*/
require_once "./include/fgcontactform.php";
require_once "./include/simple-captcha.php";
$formproc = new FGContactForm();
$sim_captcha = new FGSimpleCaptcha('scaptcha');
$formproc->EnableCaptcha($sim_captcha);
//1. Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient('*****@*****.**');
//<<---Put your email address here
//2. For better security. Get a random tring from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('CnRrspl1FyEylUj');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        $formproc->RedirectToURL("thank-you.php");
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
      <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
      <title>Contact us</title>
Exemple #12
0
<?php

/*
    Contact Form from HTML Form Guide
    This program is free software published under the
    terms of the GNU Lesser General Public License.
    See this page for more info:
    http://www.html-form-guide.com/contact-form/contact-form-attachment.html
*/
require_once "./include/fgcontactform.php";
$formproc = new FGContactForm();
//1. Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient('*****@*****.**');
//<<---Put your email address here
//2. For better security. Get a random tring from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('HG9hPBpn9Bn26yg');
$formproc->AddFileUploadField('photo', 'jpg,jpeg,gif,png,bmp', 2024);
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        $formproc->RedirectToURL("thank-you.html");
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
      <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
      <title>Contact us</title>
      <link rel="STYLESHEET" type="text/css" href="contact.css" />
<?php 
require_once "./include/fgcontactform.php";
require_once "./include/captcha-creator.php";
$formproc = new FGContactForm();
$captcha = new FGCaptchaCreator('scaptcha');
$formproc->EnableCaptcha($captcha);
$formproc->AddRecipient('*****@*****.**');
$formproc->SetFormRandomKey('3usQyspxMWnZK1F');
$formproc->AddFileUploadField('photo', 'jpg,jpeg,gif,png,bmp', 2024);
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        $formproc->RedirectToURL("thank-you.php");
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
    <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="STYLESHEET" type="text/css" href="contact.css" />
    <script type='text/javascript' src='scripts/gen_validatorv31.js'></script>
    <script type='text/javascript' src='scripts/fg_captcha_validator.js'></script>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/small-business.css" rel="stylesheet">
    <link href="css/styles.css" rel="stylesheet">
Exemple #14
0
<?php

/*
    Contact Form from HTML Form Guide
    This program is free software published under the
    terms of the GNU Lesser General Public License.
    See this page for more info:
    http://www.html-form-guide.com/contact-form/php-contact-form-tutorial.html
*/
require_once "./include/fgcontactform.php";
$formproc = new FGContactForm();
//1. Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient('*****@*****.**');
//<<---Put your email address here
//2. For better security. Get a random tring from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('octmXiS0P72qXHE');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        $formproc->RedirectToURL("./thank-you.php");
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
      <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
      <title>Contact us</title>
      <link href='http://fonts.googleapis.com/css?family=Raleway:500,100,200' rel='stylesheet' type='text/css'>
      <link rel="STYLESHEET" type="text/css" href="styles/contact.css" />
Exemple #15
0
<?php

/*
    Contact Form from HTML Form Guide
    This program is free software published under the
    terms of the GNU Lesser General Public License.
    See this page for more info:
    http://www.html-form-guide.com/contact-form/php-contact-form-tutorial.html
*/
require_once "./include/fgcontactform.php";
$formproc = new FGContactForm();
//1. Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient('*****@*****.**');
//<<---Put your email address here
//2. For better security. Get a random tring from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('CnRrspl1FyEylUj');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        $formproc->RedirectToURL("thank-you.php");
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
	<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
	<title>Contact us</title>
	<style type="text/css">@import url("http://fonts.googleapis.com/css?family=PT+Sans");</style>
	<style type="text/css">@import url("http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz");</style>
/*
    Contact Form from HTML Form Guide
    This program is free software published under the
    terms of the GNU Lesser General Public License.
    See this page for more info:
    http://www.html-form-guide.com/contact-form/contact-form-attachment.html
*/
require_once "./include/fgcontactform.php";
require_once "./include/captcha-creator.php";
$formproc = new FGContactForm();
$captcha = new FGCaptchaCreator('scaptcha');
$formproc->EnableCaptcha($captcha);
//1. Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient('*****@*****.**');
//<<---Put your email address here
//2. For better security. Get a random tring from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('XsHVufPpgD9Epwl');
$formproc->AddFileUploadField('photo', 'jpg,jpeg,gif,png,bmp', 2024);
$formproc->AddFileUploadField('resume', 'doc,docx,pdf,txt', 2024);
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        $formproc->RedirectToURL("thank-you.php");
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
<?php

/*
    Contact Form from HTML Form Guide
    This program is free software published under the
    terms of the GNU Lesser General Public License.
*/
require_once "fgcontactform.php";
$formproc = new FGContactForm();
//1.Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient('*****@*****.**');
//<<---Put your email address here
//2. For better security. Get a random string from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('dz0sbNoc7mZPgXa');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        echo "success";
    } else {
        echo $formproc->GetErrorMessage();
    }
}
Exemple #18
0
#	©SWG:ANH - 2013 - All Rights Reserved							#
#																	#
#	Unauthorized Changes are Forbidden.								#
#	Do not download or distribute this page.						#
#	By Accessing this page, you agree to these terms.				#
#																	#
#	Page Contributors: Zantox										#
#	Authored: 12/16/2013											#
#																	#
#*******************************************************************#
-->
*/
require_once "./_includes/scripts/fgcontactform.php";
$formproc = new FGContactForm();
// Email
$formproc->AddRecipient('*****@*****.**');
$formproc->SetFormRandomKey('CnRrspl1FyEylUj');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        $formproc->RedirectToURL("thank-you.php");
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
      <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
      <title>Contact us</title>
      <link rel="STYLESHEET" type="text/css" href="_includes/css/contact.css" />
      <script type='text/javascript' src='_includes/js/gen_validatorv31.js'></script>
</head>
Exemple #19
0
<?php

/*
    Contact Form from HTML Form Guide
    This program is free software published under the
    terms of the GNU Lesser General Public License.
    See this page for more info:
    http://www.html-form-guide.com/contact-form/simple-php-contact-form.html
*/
require_once "./include/fgcontactform.php";
$formproc = new FGContactForm();
//1. Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient('*****@*****.**');
//<<---Put your email address here
//2. For better security. Get a random tring from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('CnRrspl1FyEylUj');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        $formproc->RedirectToURL("thank-you.php");
    }
}
?>
<!DOCTYPE html>
<head>
      <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
      <title>Contact us</title>
      <link rel="STYLESHEET" type="text/css" href="contact.css" />
      <script type='text/javascript' src='scripts/gen_validatorv31.js'></script>
</head>
Exemple #20
0
<?php

require_once "/fgcontactform.php";
$formproc = new FGContactForm();
//1. Add your email address here.
//You can add more than one recipients.
$formproc->AddRecipient('*****@*****.**');
//<<---Put your
//email address here
//2. For better security. Get a random string from
// this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('2323r23rsddsf');
if (isset($_POST['submitted12'])) {
    if ($formproc->ProcessForm()) {
        $formproc->RedirectToURL("index.html");
    }
}
/*
    Contact Form from HTML Form Guide
    This program is free software published under the
    terms of the GNU Lesser General Public License.
    See this page for more info:
    http://www.html-form-guide.com/contact-form/creating-a-contact-form.html
*/
require_once "./include/fgcontactform.php";
require_once "./include/simple-captcha.php";
$formproc = new FGContactForm();
$sim_captcha = new FGSimpleCaptcha('scaptcha');
$formproc->EnableCaptcha($sim_captcha);
//1. Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient('*****@*****.**');
//<<---Put your email address here
//2. For better security. Get a random tring from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('CnRrspl1FyEylUj');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        $formproc->RedirectToURL("thank-you.php");
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
      <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
      <title>Contact us</title>
<?php

require_once "./include/fgcontactform.php";
$formproc = new FGContactForm();
//1. Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient('*****@*****.**');
//<<---Put your email address here
//2. For better security. Get a random tring from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('CnRrspl1FyEylUj');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        $formproc->RedirectToURL("thank-you.php");
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
      <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
      <title></title>
      <link rel="STYLESHEET" type="text/css" href="contact.css" />
      <script type='text/javascript' src='scripts/gen_validatorv31.js'></script>
      <link href='http://fonts.googleapis.com/css?family=ABeeZee:400,400italic' rel='stylesheet' type='text/css'>
</head>
<body>

<!-- Form Code Start -->
<form id='contactus' action='<?php 
echo $formproc->GetSelfScript();
<?php 
require_once "includes/fgcontactform.php";
$formproc = new FGContactForm();
$formproc->AddRecipient('*****@*****.**');
$formproc->SetFormRandomKey('gkEFthfv6gvGAuL');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        $formproc->RedirectToURL("thank-you.html");
    }
}
Exemple #24
0
<?php

/*
    Contact Form from HTML Form Guide
    This program is free software published under the
    terms of the GNU Lesser General Public License.
    See this page for more info:
    http://www.html-form-guide.com/contact-form/simple-php-contact-form.html
*/
require_once "./include/fgcontactform.php";
date_default_timezone_set('America/Denver');
$formproc = new FGContactForm();
//1. Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient('*****@*****.**');
//<<---Put your email address here
//2. For better security. Get a random tring from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('CnRrspl1FyEylUj');
$hideForm = false;
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        //$formproc->RedirectToURL("/");
        $result = "<div class=\"message success\">Thank you {$formproc->name}, your message has been sent. We will try\n         to respond soon.</div>";
    } else {
        $result = '<div class="alert-error">Sorry there was an error sending your message. Please try again later</div>';
    }
    echo $result;
    $hideForm = true;
}
if (!$hideForm) {
<?php

require_once "./include/fgcontactform.php";
$formproc = new FGContactForm();
$formproc->SetFromAddress('*****@*****.**');
$formproc->AddRecipient('*****@*****.**');
//email to receive
$formproc->SetFormRandomKey('CnRrspl1FyEylUj');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        unset($_SESSION["captchaVal"]);
        echo '<script>alert("Email has been sent!"); window.location = "http://yunified.com";</script>';
        //$formproc->RedirectToURL("http://www.yunified.com?send=1");
    }
}
?>
<!doctype html>
<html>
    <head>
        <meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=0"/>
        <meta charset="utf-8">
        <title>Contact | [yunified]</title>
        <script src="js/jquery.js"></script>
        <script src="js/mini_slider.js"></script>
	<script type='text/javascript' src='js/h5validate.js'></script>
        <link rel="stylesheet" type="text/css" href="css/style.css">
        <link rel="stylesheet" type="text/css" href="css/css.css">
        <link href="favicon.ico" type="image/x-icon" rel="icon">
        <link href="favicon.ico" type="image/x-icon" rel="shortcut icon">
    </head>
<?php

/*
    Contact Form from HTML Form Guide
    This program is free software published under the
    terms of the GNU Lesser General Public License.
*/
require_once "fgcontactform.php";
$formproc = new FGContactForm();
//1.Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient('*****@*****.**');
//<<---Put your email address here
//2. For better security. Get a random string from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('dz0sbNoc7mZPgXa');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        echo "success";
    } else {
        echo $formproc->GetErrorMessage();
    }
}
Exemple #27
0
<?php

/*
    Contact Form from HTML Form Guide
    This program is free software published under the
    terms of the GNU Lesser General Public License.
    See this page for more info:
    http://www.html-form-guide.com/contact-form/php-contact-form-tutorial.html
*/
require_once "./include/fgcontactform.php";
$formproc = new FGContactForm();
//1. Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient('*****@*****.**');
//2. For better security. Get a random tring from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('CnRrspl1FyEylUj');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        $formproc->RedirectToURL("thank-you.php");
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
      <meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
      <title>Send a Message</title>
      <link rel="STYLESHEET" type="text/css" href="contact.css" />
      <script type='text/javascript' src='scripts/gen_validatorv31.js'></script>
</head>
Exemple #28
0
<?php

/*
    Contact Form from HTML Form Guide
    This program is free software published under the
    terms of the GNU Lesser General Public License.
*/
require_once "./include/fgcontactform.php";
$formproc = new FGContactForm();
//1.Add your email address here.
//You can add more than one receipients.
$formproc->AddRecipient('*****@*****.**');
//<<---Put your email address here
//2. For better security. Get a random string from this link: http://tinyurl.com/randstr
// and put it here
$formproc->SetFormRandomKey('dz0sbNoc7mZPgXa');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        echo "success";
    } else {
        echo $formproc->GetErrorMessage();
    }
}