// ########################################################################## // ########################################################################## // // DynaForm v1.4 - Created by the Webligo Group // http://www.webligo.com // // YOUR USE OR DISTRIBUTION OF THIS SOFTWARE CONSTITUTES YOUR ACCEPTANCE // OF THE FOLLOWING LICENSE AGREEMENT: // // THIS SCRIPT AND ALL OF ITS CONTENTS ARE LICENSED UNDER THE // GPL FREEWARE LICENSE. IT MAY NOT BE RESOLD OUR USED COMMERCIALLY // WITHOUT EXPRESSED PERMISSION OF THE WEBLIGO GROUP. IT MAY, HOWEVER, // BE DISTRIBUTED FREELY WITHOUT CHARGE. THIS SOFTWARE IS INTELLECTUAL // PROPERTY OF THE WEBLIGO GROUP. ANYONE VIOLATING THIS AGREEMENT WITHOUT // THE EXPRESSED PERMISSION OF THE WEBLIGO GROUP MAY BE LEGALLY PROSECUTED. // YOUR DOWNLOAD AND USE OF THIS SOFTWARE ALSO SIGNIFIES THAT YOU UNDERSTAND // AND AGREE TO THE DOWNLOAD AGREEMENT YOU READ UPON DOWNLOAD. // // The Webligo Group, its management, or any of its employees, associates, or // partners cannot be held liable for any damages that this software may cause. // As the Licensee and user of the software, you agree to accept full liability // for any damages or risk involved with using this software. // // If you need help installing or using this software, please // read the readme.txt file that was provided with it. // // This file and all related content are the intellectual // property of the Webligo Group and are under copyright. // // If you plan to use this script for your clients, sell it as a service, // or utilize it in any other commercial manner, you must purchase a commercial // license. Please see this page for more information: // http://webligo.com/products_dynaform.php // // We do not provide support for this script, unless you have purchased a // commercial license. // // Feel free to visit our website (http://www.webligo.com) // if you wish to send us any comments, etc. // // ########################################################################### // ########################################################################### // ########################################################################### // #### CONFIGURE FROM: ADDRESS ############################################## // THIS AREA IS OPTIONAL. ONLY TOUCH THESE SETTINGS IF YOU KNOW WHAT YOU ARE // DOING. PLEASE READ README.TXT FOR MORE INFORMATION. // If you would like to specify the From: address of emails sent by DynaForm, // enter it between the double quotes below. If you leave this blank, the // server will assign the default email address. // If you want the From: address to be the email address of the user who // submitted your form, use $from_address = "$_POST[Email]"; // Make sure "Email" is the name of the text field where users enter their // email address on your form. $from_address = ""; // ########################################################################### // ########################################################################### // ########################################################################### // #### ACTIVATE REQUIRED FIELDS? ############################################ // THIS AREA IS OPTIONAL. ONLY TOUCH THESE SETTINGS IF YOU KNOW WHAT YOU ARE // DOING. PLEASE READ README.TXT FOR MORE INFORMATION. // // If you would like to make some fields of your form required, change "no" to // "yes" below. $required_on = "no"; // If you have set $required_on to "yes" above, you can make fields required // by beginning their name with "r_". For example, if you want to require // a user to enter their name, use the following HTML: // // // // If a user fails to enter a required field, they will be taken to a page // where a message such as "You have not completed all the required fields." // will be displayed. Please specify the URL to this file below: $required_errorpage = "error.html"; // ########################################################################### // ########################################################################### // ########################################################################### // #### OVERRIDE REQUIRED VARIABLES? ######################################### // THIS AREA IS OPTIONAL. ONLY TOUCH THESE SETTINGS IF YOU KNOW WHAT YOU ARE // DOING. PLEASE READ README.TXT FOR MORE INFORMATION. NOTE: THIS WILL NOT // AFFECT YOUR 'TURN ON REQUIRED FIELDS?' SECTION SETTINGS ABOVE. // // If you would like to override the three required variables in // order to hide your email address, email subject, and thank you page // URL from your email form, change "no" to "yes" below. $override = "no"; // If override is set to "yes", the hidden variables on your HTML // email form named "rec_mailto", "rec_subject", and "rec_thanks" will be // overridden and can therefore be removed from the form. // If you have set override to "yes" above, you must specify new values for // each of these variables below. // Enter the email address(es) to send the email to. $incoming_mailto = "info@cantechcomputer.com"; // Enter the email subject. $incoming_subject = "You have a new message from your DynaForm."; // Enter the thank you page URL. $incoming_thanks = "thanks.html"; // ########################################################################### // ########################################################################### // ########################################################################### // #### BAN IP ADDRESSES? #################################################### // THIS AREA IS OPTIONAL. ONLY TOUCH THESE SETTINGS IF YOU KNOW WHAT YOU ARE // DOING. PLEASE READ README.TXT FOR MORE INFORMATION. // // If you would like to ban certain IP addresses from submitting your form, // change "no" to "yes" below. $ban_ip_on = "no"; // If you have set $ban_ip_on to "yes" above, please enter a list of the // IP addresses you would like to ban, seperated only by commas. // An example has been provided below: $ban_ip_list = "111.222.33.55,11.33.777.99"; // ########################################################################### // ########################################################################### // ########################################################################### // #### ACTIVATE DOMAIN SECURITY? ############################################ // // THIS AREA IS OPTIONAL. ONLY TOUCH THESE SETTINGS IF YOU KNOW WHAT YOU ARE // DOING. PLEASE READ README.TXT FOR MORE INFORMATION. // // This setting, when set to "yes" (default), will check to make sure other // people are not submitting data to your dynaform.php file from their // external domains. This means that if your domain name is "www.mysite.com", // only forms on "www.mysite.com" will be able to use this dynaform.php. // IF YOU ARE RECEIVING ERRORS SUCH AS "INVALID DOMAIN" FOR NO REASON, PLEASE // CHANGE "yes" TO "no" BELOW. $secure_domain_on = "yes"; // ########################################################################### // ########################################################################### // ########################################################################### // #### ACTIVATE AUTO-RESPONSE? ############################################## // // THIS AREA IS OPTIONAL. ONLY TOUCH THESE SETTINGS IF YOU KNOW WHAT YOU ARE // DOING. PLEASE READ README.TXT FOR MORE INFORMATION. // // This setting, when set to "yes", will make DynaForm automatically reply to // the user who submitted your form with an email message. If you would like // to use this feature, change "no" to "yes" below. $autorespond_on = "no"; // If you have set $autorespond_on to "yes" above, you must specify a subject, // from-address, and message to include in the auto-response email. // The following setting is the subject of the auto-response email: $autorespond_subject = "Your Form Submission"; // The following setting is the from-address of the auto-respond email: $autorespond_from = "info@everesttransport.com"; // The following setting is the message of your auto-response email: $autorespond_contents = "Your submission from our website has been received. Thank you!"; // DynaForm also needs to know how to retrieve the user's email address. // You must specify the name of the field into which the user will enter // their email address. For example, if your email form contains an input // field like "" you would set the // following setting to "Email". $autorespond_mailto_field = "Email"; // ########################################################################### // ########################################################################### // MAKE SURE DYNAFORM IS NOT BEING LOADED FROM THE URL if($HTTP_SERVER_VARS['REQUEST_METHOD'] == "GET") { echo "