cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Login form protected by Login LockDown.


Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
[Captcha] - Bug with uppercase characters
January 22, 2008
3:58 pm
Thomas Gerard
Guest

Please replace the ??? with your data!

  • Your URL: not set yet
  • The browser used: Firefox – IE7
  • cforms version: 7.2
  • Your Wordpress version: 2.3.2

Hi all,

As I was trying to implement captcha to a contact form, the check never worked.

Actually, it was because I changed the possible characters in the options tab, to show only uppercase [A-Z].

I had to change lib_nonajax.php line 149:

if ( $_SESSION['turing_string_'.$no] <> strtolower($_POST['cforms_captcha'.$no]) )

 to:

 if ( strtolower($_SESSION['turing_string_'.$no]) <> strtolower($_POST['cforms_captcha'.$no]) )

 Don't know if that can help someone…

By the way, how can we check that the ajax form check is working?

Thomas. 

January 22, 2008
10:28 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Right, it probably makes sense to allow upper case letters now that the CAPTCHA feature is fully configurable…next version.

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
23 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3748

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5347

Posts: 18717

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)