PHP code example of proxiblue / recaptcha

1. Go to this page and download the library: Download proxiblue/recaptcha library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

proxiblue / recaptcha example snippets


<script type="text/javascript" src=" echo $this->getJsUrl('prototype/prototype.js') 

<script type="text/javascript" src=" echo $this->getJsUrl('proxiblue/recaptcha/prototype.js') 
`
<ul>
    echo $this->getChildHtml('recaptcha'); 

<reference name="product.review.form">
            <block type="captcha/captcha" name="recaptcha">
                <action method="setFormId">
                    <formId>user_review</formId>
                </action>
                <action method="setImgWidth">
                    <width>230</width>
                </action>
                <action method="setImgHeight">
                    <width>50</width>
                </action>
            </block>
        </reference>
</review_product_list>
 echo $this->getChildHtml('recaptcha'); 
 echo Mage::helper('contacts')->__('First Name') 
 echo $this->htmlEscape($_firstname) 
 echo $this->getChildHtml('recaptcha');