here is the top part --
// General Variables
$check_referrer="no";
$referring_domains=" http://domain.com/,http://www.domain.com/,http://subdomain.domain.com/";
// Default Error and Success Page Variables
$error_page_title="Error - Missed Fields";
$error_page_text="Please use your browser's back button to return to the form and complete the required fields.";
$thanks_page_title="Message Sent";
$thanks_page_text="Thank you for your inquiry";
// options to use if hidden field "config" has a value of 0
// recipient info
$charset[0]="iso-8859-1";
$tomail[0]="info@site.com";
$cc_tomail[0]="";
$bcc_tomail[0]="";
// Mail contents config
$subject[0]="Contact";
$reply_to_field[0]="Email";
$reply_to_name[0]="Name";
$required_fields[0]="Name,Email";
$required_email_fields[0]="";
$attachment_fields[0]="";
$return_ip[0]="yes";
$mail_intro[0]="The following are form results from site.com:";
$mail_fields[0]="Subject,Name,Email,Phone,State,Comments";
$mail_type[0]="text";
$mail_priority[0]="1";
// Send back to sender config
$send_copy[0]="yes";
$send_copy_format[0]="vert_table";
$send_copy_fields[0]="Name,Email,Phone,Comments";
$send_copy_attachment_fields[0]="";
$copy_subject[0]="Contact";
"// this text gets put above the main auto-responder email
// you can format this via html tags, since we are sending as vert_table above, which uses html
$copy_intro[0]="
<html>
<head>
<style-type="text/css">
</style>
</head>
<body>Thank you for contacting NEW SITE.<br>Your email (below) has been sent.<br><br>Someone will respond shortly.<br><br>If you require immediate assistance, please call xxx-PHONE-PHONE.<br><br>***************************************<br>This is an automated confirmation message.<br></body></html>";
--------------------------------------
but the error I get is "Parse error: syntax error, unexpected T_STRING in /home/site/public_html/submit/contact.php on line 49"
forms has worked fine without html in autoresponse.
2.) Also i wanted to have it work whereby if they only receive text emails it will change display automatically from html to text.
Oh.and this is not for spam.....on that note.. I am actually looking for a strong anti-spam form-mail php script.
thanks for any help or suggestions.





Bookmarks