Hi,
I cannot get the php google captcha extension to work. I created a test page, also the dwzGoogleCaptcha map is on te server. I have de public and private keys but for security reasons, I have not entered the key fields this way.
<?php //********************** // DwZone Google Captcha //********************** require_once("./dwzGoogleCaptcha/dwzGoogleCaptcha.php"); ?><?php //********************************* //* Google Captcha //* http://www.DwZone-it.com //* Version 1.0.7 //********************************* $googleCaptcha = new dwzGoogleCaptcha(); $googleCaptcha->Init(); $googleCaptcha->PublicKey = "****"; $googleCaptcha->PrivateKey = "****"; $googleCaptcha->Theme = "clean"; $googleCaptcha->Language = "en"; $googleCaptcha->TabIndex = "0"; $googleCaptcha->SetCustomLanguages(false, "", "", "", "", "", "", "", "", "", ""); //********************************* //* Google Captcha //********************************* ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>test</title><?php //****************** //* Google Captcha //****************** $googleCaptcha->GetHeadCode(); //****************** //* Google Captcha //****************** ?> </head>
<body> test <?php //****************** //* Google Captcha //****************** $googleCaptcha->GetElement(); //****************** //* Google Captcha //****************** ?> <form action="test2.php" method="post"> <input name="Name" type="text" /> <input name="send" type="submit" value="Send" />
</form> </body> </html><?php //****************** //* Google Captcha //****************** $googleCaptcha->GetCreateCode(); //****************** //* Google Captcha //****************** ?>
Best Regards, Rudi |
|
|