Download and extract the EpiCaptcha zip file.
Paste the epicaptcha file into your project
Copy and paste the includes into your HTML head tag.( <head>...<head/> )
Copy and paste the Code for the submit button into your form. Replace the submit button you already have, if you have one. Make sure the ID on the submit button and your form have the same ID that is in the script that you pasted into your html head tag.
<div id="epicaptcha"></div> <input class="btn btn-info" id="epi" type="button" value="Send"/> <div id="contactMessage"></div>
Open Settings.php and Add in the email address you want the message to be sent to.
$systemArr["email"] = "firstname.lastname@example.org";
Enter your out going server details and your post number (If you are not sure about these details contact your hosting provider.)
$systemArr["host"] = "mail.emailaddress.com"; $systemArr["port"] = 587;
Change this to 0 if no authentication is needed (contact your hosting provider if you are not sure abut this.)
$systemArr["authenticated"] = 1;
If your hosts out going server is encrypted, set this to 1 (if you are unsure whether it is encrypted or not contact your hosting provider.)
$systemArr["encrypted"] = 0;
If there is an encryption you need to state if it is ssl or tls if there is no encryption just leave it as null (if you are not sure about this information contact your hosting provider.)
$systemArr["encryption"] = null;
Fill in all of the following information.
// Name of the person/department being placed on the email responses sent to client $systemArr["name"] = "Company/Person Name"; // Message title that you will recieve from the client when they fill in the form on your website. $messageArr["messageHead"] = "an Enquiry"; // Subject of the message you will recieve from the client when they fill in the form on your website. $messageArr["messageSubject"] = "Contact Form"; // Message title the client will recieve from the auto-response message after filling in the form. $messageArr["responseHead"] = "Thank you for contacting Company/Person Name."; // Message used in the auto-response email $messageArr["responseMessage"] = "A representative will be in contact with you as soon as possible"; // End piece used in the auto-response. $messageArr["responseEnd"] = "Enjoy your day!"; // Signature used in the auto-response. $messageArr["responseSig"] = "Company/Person Name."; // Subject of the auto-response message. $messageArr["responseSubject"] = "Company/Person Name Auto-Response.";
Please note that for the advanced tutorial you need to download the EpiCaptcha and open the php file called "ReadMe".
Not sure how the API works?CLICK HERE
Ready to GET STARTED ??