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[...]