Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prashanthr/recaptchaphp
A Google recaptcha adapter in PHP
https://github.com/prashanthr/recaptchaphp
Last synced: 24 days ago
JSON representation
A Google recaptcha adapter in PHP
- Host: GitHub
- URL: https://github.com/prashanthr/recaptchaphp
- Owner: prashanthr
- Created: 2015-06-02T16:18:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-07T22:17:34.000Z (over 9 years ago)
- Last Synced: 2024-10-29T14:20:24.550Z (2 months ago)
- Language: PHP
- Size: 148 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RecaptchaPHP
A Google recaptcha adapter in PHP for your project needs
## Usage
Edit the constants.php file and replace the empty constants with your site information (site key & secret key).
```PHP
class Constants
{
const RECAPTCHA_SECRET_KEY = "[YOUR_SECRET_KEY]";
const RECAPTCHA_SITE_KEY = "[YOUR_SITE_KEY]";
const RECAPTCHA_VERIFY_URI = "https://www.google.com/recaptcha/api/siteverify";
}
```
Refer to ```example.php```. In any of your pages where you need to display a re-captcha element, add the following to the `````` element.
```html
```