PHP Scripts for GentleSource Form Mail allows

GentleSource Form Mail allows you to put a contact form on your website. The input of that form will be sent per e-mail to your e-mail address. The script can log all the messages that are sent.The layout of your forms, and e-mail, can be customized as you wish. You can also choose if the user will be redirected to a thank-you-page, or sees the information from the form displayed again,It also has multiple layers of security that reduce the possibility of unauthorized use.

 

<?php

/*****************************************************
** Title........: Form Mail Script
** Filename.....: index.php
** Author.......: GentleSource
** Homepage.....: http://www.gentlesource.com/
** Notes........: This file contains the configuration
** Last changed.:
** Last change..:
*****************************************************/


/*****************************************************
**
** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY
** OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
** LIMITED   TO  THE WARRANTIES  OF  MERCHANTABILITY,
** FITNESS    FOR    A    PARTICULAR    PURPOSE   AND
** NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR
** COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES
** OR  OTHER  LIABILITY,  WHETHER  IN  AN  ACTION  OF
** CONTRACT,  TORT OR OTHERWISE, ARISING FROM, OUT OF
** OR  IN  CONNECTION WITH THE SOFTWARE OR THE USE OR
** OTHER DEALINGS IN THE SOFTWARE.
**
*****************************************************/





/*****************************************************
** Script configuration - for a documentation of the
** following variables please take a look at the
** documentation file in the 'docu' directory.
*****************************************************/

$script_root           = './';

$referring_server      = '';       // Example: $referring_server = 'example.com, www.example.com';

$language              = 'en';     // see folder /languages/

$ip_banlist            = '';

$ip_address_count      = '0';
$ip_address_duration   = '48';

$show_limit_errors     = 'yes';    // (yes, no)

$log_messages          = 'yes';     // (yes, no) -- make folder "logfile" writable with: chmod 777 logfile

$text_wrap             = '72';

$show_error_messages   = 'yes';

$attachment            = 'yes';    // (yes, no) -- make folder "temp" writable with: chmod 777 temp
$attachment_files      = 'jpg, gif, png, zip, txt, pdf, doc, ppt, tif, bmp, mdb, xls, txt, vcf, csv, vcs';
$attachment_size       =  9000000;

$captcha               = 'no';   // (yes, no) -- make folder "temp" writable with: chmod 777 temp

$filepath['logfile']       = $script_root . 'logfile/';
$filepath['templates']     = $script_root . 'templates/';

$file['default_html']  = 'form.tpl.html';
$file['default_mail']  = 'mail.tpl.txt';




/*****************************************************
** Add further words, text, variables and stuff
** that you want to appear in the templates here.
** The values are displayed in the HTML output and
** the e-mail.
*****************************************************/

$add_text = array(
'txt_additional' => 'Additional', //  {txt_additional}
'txt_more'       => 'More',        //  {txt_more}
'domain'         => $_SERVER['SERVER_NAME'],

);




/*****************************************************
** Do not edit below this line - Ende der Einstellungen
*****************************************************/















/*****************************************************
** Send safety signal to included files
*****************************************************/

define('IN_SCRIPT', 'true');




/*****************************************************
** Load formmail script code
*****************************************************/

include($script_root . 'inc/formmail.inc.php');

echo $f6l_output;




?>

&amp;nbsp;

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>