Jump to content

reCaptcha on "Pages"


MaciejO

Recommended Posts

Hello,

always were interested how to do recaptcha that would work with phpvms on "Cutstom Pages", were trying to do something this morning, but i think its still to hard for me, if anyone has done it could you please share it or guide a bit?

Thanks for help,

Maciej.

Link to comment
Share on other sites

So this is the page :

http://www.olbifgroup.net/olf/index.php/pages/register-cv

its created using custom pages in phpvms cms, i want to add captcha to here, but when i tried to use what Mark posted (registration form tpl captcha)

<?php
    echo recaptcha_get_html(Config::Get('RECAPTCHA_PUBLIC_KEY'), $captcha_error);
?>

i got the error :

Fatal error: Call to undefined function recaptcha_get_html() in /home/olbifgro/public_html/olf/core/pages/register-cv.htm on line 227

Maciej.

Link to comment
Share on other sites

I forgot to add code of error after i included file,

Warning: include() [function.include]: Failed opening '/../codon.config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/olbifgro/public_html/olf/core/pages/register-cv.htm on line 2

And if i give path to http://www.olbifgroup.net/olf/core/codon.config.php, error is :

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/olbifgro/public_html/olf/core/pages/register-cv.htm on line 2

Warning: include(http://www.olbifgroup.net/olf/core/codon.config.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/olbifgro/public_html/olf/core/pages/register-cv.htm on line 2

Warning: include() [function.include]: Failed opening 'http://www.olbifgroup.net/olf/core/codon.config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/olbifgro/public_html/olf/core/pages/register-cv.htm on line 2

Anyone ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...