Captcha without flash |
8/1/2014 4:34:18 PM |
PHPRunner Tips and Tricks | |
F
FunkDaddy author
Needless to say we have too many iOS devices accessing our apps nowadays... unfortunately, the built-in captcha control provided by PHPR uses flash. Here is a solution to implementing captcha that does not use flash. I borrowed partial code from this post:http://webdesignpub.com/html-contact-form-captcha/
|
|
![]() |
romaldus 8/14/2014 |
Not Work in PHPRUNNER 6.2. |
A
|
Abbas 10/24/2014 |
Notice that I am using a PHPR field that I created in my underlying table called "CaptchaValue" which is why I included the $values['CaptchaValue'] in the conditional statement above. This is what captures the user input to verify if they entered the same thing that is presented in the captcha image.
|
F
|
FunkDaddy author 10/28/2014 |
Abbas, |
A
|
Abbas 10/30/2014 |
Abbas, What I meant by the paragraph you highlighted is that I added a varchar(6) field/column called "CaptchaValue" in the MySQL table that I was using to capture my user info (which is where I placed the captcha widget to help validate the form). I did this so that it could be used for capturing the value for the captcha that is entered by the user... hence I can access that value by calling the array item $values['CaptchaValue'] in order to compare it to the $_SESSION['6_letters_code']. I hope this clarifies things.
|
A
|
Abbas 12/18/2014 |
Sir, $values['CaptchaValue']
$_POST['value_CaptchaValue_1'] if(empty($_SESSION['6_letters_code'] ) || strcasecmp($_SESSION['6_letters_code'], $_POST['value_CaptchaValue_1']) != 0){
|
![]() |
romaldus 12/19/2014 |
I have never had success using this tips in phprunner 7.1 and 8.0 latest version. |
![]() |
lefty 6/8/2016 |
I have never had success using this tips in phprunner 7.1 and 8.0 latest version. Warning message"The captcha code below does not match! Try again. " always appears even if i enter correct captcha challenge. sample table: field1(integer, primary key) field2 (char 30) field3 (char 30) CaptchaValue (char 10)
|
![]() |
lefty 6/8/2016 |
I have never had success using this tips in phprunner 7.1 and 8.0 latest version. Warning message"The captcha code below does not match! Try again. " always appears even if i enter correct captcha challenge. sample table: field1(integer, primary key) field2 (char 30) field3 (char 30) CaptchaValue (char 10)
|
![]() |
Admin 6/8/2016 |
Switch to 8.1 and use built-in re-CAPTCHA? |