paul1 Posted October 10, 2012 Share Posted October 10, 2012 Hi, can anybody please help me with a syntax error i am having, i have a piece of php code and i can not figure out what the problem is, i have tried using the code on its own without my form and the same error is coming up.Thank you.111.php Link to comment Share on other sites More sharing options...
paul1 Posted October 10, 2012 Author Share Posted October 10, 2012 <?php/*** @Title: Recaptcha Validation** @Date Modified: 6/01/09** Instructions: This code lives within the form. Generally above the <SUBMIT> button*///A.This div notifies the user whether the Recaptcha was Successful or notecho "\n\t" . '<div id="captchaStatus" style="color:red;font-size:12px"></div>';//B. This script provides Recaptcha with a Themeecho "\n\t" .'<script type="text/javascript" charset="utf-8">';echo "\n\t" .'var RecaptchaOptions = { theme: "clean" };';echo "\n\t" . '</script>' . "\n";//C. Require the Recaptcha Libraryrequire_once('recaptchalib.php');//D. READ ME!$publickey = ""recaptcha_get_html( $publickey ); // the error message is here?> Link to comment Share on other sites More sharing options...
JamesB Posted October 10, 2012 Share Posted October 10, 2012 $publickey = ""; Link to comment Share on other sites More sharing options...
paul1 Posted October 10, 2012 Author Share Posted October 10, 2012 Thank you and yes i have been looking at this for an hour now, the minds of many always beat my small one.Thank you i appreciate your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now