close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Google Captcha 2

Thread began 6/01/2020 10:12 am by iain331081 | Last modified 6/02/2020 9:02 am by Ray Borduin | 708 views | 8 replies |

iain331081

Google Captcha 2

I have just been trying to set this up on a login page. I'm not sure its entirely necessary, but my client would like it.

I have gotten as far as adding the script, and what I think is the right code to do the verification, and have the two keys in the right place. But I am unsure exactly how or where to put things so that the login functionality also works.

I have attached the page here, hoping it might be pretty straightforward when you know how. But happy for paid support as this will probably be worth adding to a few sites. Thank you!

Sign in to reply to this post

Ray BorduinWebAssist

I'd need FTP access to debug. It should be writing success or fail to the page but it isn't, so there is an error in the code somewhere I'd have to fix first.

Once you have that working then it is just a matter of removing the success message and redirecting back to the page on fail (appending a url parameter telling them it failed and to try again).

Sign in to reply to this post
Did this help? Tips are appreciated...

iain331081

Thanks Ray - I thought it should at least be displaying the success or fail messages, but couldn't see anything obvious. This was actually the firs site I did with WA stuff I think - back sometime around 2006-8.

Sign in to reply to this post

Ray BorduinWebAssist

That FTP information doesn't seem to be working for me. Please check for typos or IP restrictions that might be causing this problem.

Sign in to reply to this post
Did this help? Tips are appreciated...

Ray BorduinWebAssist

Actually I just go in with the domain without ftp. in front. I'm testing it now.

Sign in to reply to this post
Did this help? Tips are appreciated...

Ray BorduinWebAssist

It looks like the code depends on the json_decode function: https://www.php.net/manual/en/function.json-decode.php

You can see that function is available in php version 5.2.0 and newer.

You have PHP Version 5.1.6 installed.

Sign in to reply to this post
Did this help? Tips are appreciated...

iain331081

I have changed that to 5.6 now. Anything higher broke the page.

Sign in to reply to this post

Ray BorduinWebAssist

That seems to work. I've updated the code on the page to work with your login system.

Sign in to reply to this post
Did this help? Tips are appreciated...

iain331081

Thanks Ray.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...