Skip to content

Instantly share code, notes, and snippets.

View jpveilleux's full-sized avatar
😱
Amazed and confused

jpveilleux

😱
Amazed and confused
View GitHub Profile
@jpveilleux
jpveilleux / recaptcha_error_msg.php
Created November 21, 2012 15:38
Code de styling d'erreur pour le reCaptcha
// #############################################################################
// reCAPTCHA ###############################################################
require_once('recaptchalib.php');
$privatekey = "6LfeTNkSAAAAAF1prTp7VAwWPGZJZzhW2fioA40f";
$resp = recaptcha_check_answer ($privatekey,
$_SERVER["REMOTE_ADDR"],
$_POST["recaptcha_challenge_field"],
$_POST["recaptcha_response_field"]);