Esempio n. 1
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/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>
<body>
Esempio n. 2
0
<?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");
    }
}
<?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();
    }
}
Esempio n. 4
0
    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";
$email = elgg_get_plugin_setting('email', '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('S3EVLX2gbB6JprU');
if (isset($_POST['submitted'])) {
    if ($formproc->ProcessForm()) {
        system_messages(elgg_echo('contactform:thankyoumsg'));
        forward(elgg_get_site_url());
    }
}
?>
<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="contactform.css" />
      <script type='text/javascript' src='scripts/gen_validatorv31.js'></script>
    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'/>
      <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>
Esempio n. 6
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";
$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>
</head>
<body>
Esempio n. 7
0
    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";
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('n91LqHNvMrpoXte');
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>
Esempio n. 8
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");
    }
}
Esempio n. 9
0
    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>
      <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>
Esempio n. 10
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/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.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>
<?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();
?>
Esempio n. 12
0
    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";
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('gf07a2Kt5ORGXWz');
//3. Set Conditional field and conditional receipients
//Update the destination email addresses
$formproc->SetConditionalField('query_type');
$formproc->AddConditionalReceipent('General', '*****@*****.**');
$formproc->AddConditionalReceipent('Sales', '*****@*****.**');
$formproc->AddConditionalReceipent('Billing', '*****@*****.**');
$formproc->AddConditionalReceipent('Technical', '*****@*****.**');
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">
<?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">
Esempio n. 14
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/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" />
      <!--[if lte IE 8]>
          <link rel="stylesheet" type="text/css" href="styles/contactie8.css" />