Difference between #1 and #2 of
Using recaptchlib in your projects

Revision #2 has been created by Antonio Ramirez on Oct 29, 2010, 7:28:45 PM with the memo:

Modified Headers
« previous (#1)

Changes

Title unchanged

Using recaptchlib in your projects

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

interface, captcha, libraries

Content changed

[...]
----------
There are two parts we have to take into account:
1) the display -in our view
2) and the confirmation -in our controller

**### The Display**  
At the top part of our view we include the recaptcha library and set our public key like this:
[...]
```

**### The Confirmation**   In our last step, we need to code the following in the controller action that is going to receive the form parameters:
 


```php
.... actionWhatever(){

// I check against a value instead of isPostRequest
[...]
5 0
4 followers
Viewed: 15 313 times
Version: 1.1
Category: How-tos
Written by: Antonio Ramirez
Last updated by: Antonio Ramirez
Created on: Oct 29, 2010
Last updated: 13 years ago
Update Article

Revisions

View all history