Using recaptchlib in your projects

Comparing #1 with #2

Content

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