Captcha
From KOP KB
So far this is only a linux Captcha for php We are using Securimage that will allow customization of color but we dont offer that we will make the changes for it if need be.
If in a Matrix or Neo Builder pretty much we will be making a copy of the page into a .php file.
You may need to inspect element in google and copy the form code from there to insert it into the php file as it usually gets generated from java script, I usually copy the entire table script example below
<!--- I usually take out this div or at least take out the ID --->
<div id="webcom-component-form-19256576256233933">
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tbody><tr> <td align="left" valign="top" width="45%"> </td> <td align="left" valign="top" width="10%">
<form id="webcom-component-form-19256576256233933-form" class="web_com_custom_form" method="post" action="http://forms.services.matrixbuilder.com/forms/processor.sfx" onsubmit="return WebCom.Components.Form.submitInstance(this)">
<style>#webcom-component-form-19256576256233933 div.form_error{ color: #c70202;}
#webcom-component-form-19256576256233933 input.form_error,#webcom-component-form-19256576256233933 textarea.form_error{border:1px dotted #c70202 !important; }</style>
<div class="form-element-wrapper" id="name-id">
<label for="name" class="form-element-label" style="">Name</label>
<table class="personName-large" cellpadding="0" cellspacing="0"><tbody>
<tr><td class="FirstName">
<!-- I personally Like to make the inputs spaced out so its easier to see, and also if anyone views source it will look better organized at least as well. -->
<input class="form-element form-element-size-full valid" type="text" name="name-FirstName" value="" maxlength="">
<label for="name-FirstName" class="personName-label" style="font-size:smaller;">First Name<span style="color:#cc0000;font-weight:normal" valign="top">*</span></label></td><td class="LastName">
<input class="form-element form-element-size-full" type="text" name="name-LastName" value="" maxlength=""><label for="name-LastName" class="personName-label" style="font-size:smaller;">
Last Name<span style="color:#cc0000;font-weight:normal" valign="top">*</span></label></td></tr></tbody></table></div><div class="form-element-wrapper" id="Email-id"><label for="Email" class="form-element-label" style="">Email<span style="color:#cc0000;font-weight:normal" valign="top">*</span></label>
<input class="form-element form-element-size-large" type="text" name="Email" value="" maxlength=""></div><div class="form-element-wrapper" id="phone-id">
<label for="phone" class="form-element-label" style="">
Phone number</label>
<input class="form-element form-element-size-large" type="text" name="phone" value="" maxlength="">
</div><div class="form-element-wrapper" id="subject-id"><label for="subject" class="form-element-label" style="">Subject</label>
<input class="form-element form-element-size-large" type="text" name="subject" value="" maxlength="">
</div><div class="form-element-wrapper" id="message-id"><label for="message" class="form-element-label" style="">Message</label>
<textarea rows="8" class="form-element form-element-size-large" name="message"></textarea>
</div><div class="form-element-wrapper" id="submit-id"><div style="text-align: left;">
<input type="submit" class="form-element" name="submit" value="Submit"></div></div>
</form></td> <td align="left" valign="top" width="45%"> </td> </tr> </tbody></table></div>
The next thing now is inputting the php captcha right before the submit button with the following code, Also need the require once for the script
<?
require_once './securimage/securimage.php';
?>
<!---And as well the captcha put near the submit --->
<div>
<?php echo Securimage::getCaptchaHtml() ?>
</div>