php - recaptcha doesn't show up with dreamweaver -


i've got little problem here recaptcha integration dreamweaver project.

i can't see widget @ all, , don't understand why, i've search lot , can't work.

here code, in beginning of php page:

if ((isset($_post["mm_insert"])) && ($_post["mm_insert"] == "formulaire_ajout_compte")) {  // recaptcha require_once('inc/recaptchalib.php'); $privatekey = "my_private_key"; $resp = recaptcha_check_answer ($privatekey,                                $_server["remote_addr"],                                $_post["recaptcha_challenge_field"],                                $_post["recaptcha_response_field"]);  if (!$resp->is_valid) {    die ("the recaptcha wasn't entered correctly. go , try again." .         "(recaptcha said: " . $resp->error . ")"); } else {  // if recaptcha ok... end of code sql injections 

in form, have :

<?php           require_once('inc/recaptchalib.php');           $publickey = "my_public_key";           echo recaptcha_get_html($publickey);         ?> 

the "lib" @ right place , don't understand why doesn't work @ all.

i have found answer ... found in logs of mamp. permissions issues, changed have on files , folders , think ok.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -