Created
October 16, 2021 15:15
-
-
Save Octagon-simon/a59563c2e43e608510c94a452a931706 to your computer and use it in GitHub Desktop.
Set up your post block
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //Captcha verification script | |
| require_once 'core/captcha_verify.php'; | |
| //Captcha custom JS | |
| include_once 'assets/captcha_script.php'; | |
| //Captcha custom CSS | |
| include_once 'assets/captcha_style.php'; | |
| if(isset($_POST)&& isset($_POST['submit'])){ | |
| $myCaptcha = json_decode(verifyCaptcha($_POST['key']), true); | |
| print_r($myCaptcha); | |
| } | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment