1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| <?php
/// Mise en place de recaptcha
require_once('../recaptchalib.php');
// Get a key from http://recaptcha.net/api/getkey
$publickey = "6LfadgMAAAAAACQHZQKiScJ9h0egmu_QuJKdsMNz";
$privatekey = "xxxxxxxx";
# the response from reCAPTCHA
$resp = null;
# the error code from reCAPTCHA, if any
$error = null;
/// Affichage des catégories
$sql_categorie = "SELECT id_cat, nom_cat FROM agenda_cats ORDER BY nom_cat ASC";
$res_categorie = mysql_query($sql_categorie, $db);
$cats = "";
.... |