PHP code example of neverbehave / rc_hcaptcha

1. Go to this page and download the library: Download neverbehave/rc_hcaptcha 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/ */

    

neverbehave / rc_hcaptcha example snippets



// See https://hcaptcha.com/
$rcmail_config['hcaptcha_site_key'] = 'Your SITE KEY';
$rcmail_config['hcaptcha_secret_key'] = 'Your Secret Key';
$remail_config['hcaptcha_send_client_ip'] = false; // Set true to Sent Client IP to Hcaptcha
$rcmail_config['hcaptcha_theme']  = 'light';  // dark