Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jnewland/php-akismet-contact
Automatically exported from code.google.com/p/php-akismet-contact
https://github.com/jnewland/php-akismet-contact
Last synced: about 1 month ago
JSON representation
Automatically exported from code.google.com/p/php-akismet-contact
- Host: GitHub
- URL: https://github.com/jnewland/php-akismet-contact
- Owner: jnewland
- Created: 2015-03-13T04:08:34.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-13T06:05:13.000Z (almost 10 years ago)
- Last Synced: 2023-04-10T15:07:07.050Z (over 1 year ago)
- Language: PHP
- Size: 109 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
phpAkismetContact
Jesse Newland
http://jnewland.com
[email protected]SECURITY MEASURES
* All form fields are checked for newlines or null bytes followed by email commands.
* HTTP Referrer is required, and checked against an array of allowed referrers.
* To and From emails are validated
* Emails may only be sent to the recipient defined in the script
* If all of these checks pass, the contents of the email submitted to Akismet to verify it's not spam.EXAMPLE FORM:
Name
Message
REQUIRED PARAMETERS:
* email - valid email that will be the from address. the contents of this parameter will be sent to Akismet for spam checking
* bcc - THIS FIELD IS REQUIRED TO BE BLANK. This is designed to bait spammers. I've found that spammers generally submit all contact form fields, even if commented out. (http://isc.sans.org/diary.php?storyid=1836)
OPTIONAL PARAMETERS:
* redirect - full URL (with http://) that the script will redirect to on success.
* name - the contents of this parameter will be sent to Akismet for spam checking
* comments - the contents of this parameter will be sent to Akismet for spam checking
All other parameters will be included in the email, but will not be checked by Akismet.
Please note that in order to use this, you must have a vaild WordPress API key (http://wordpress.com/api-keys/). They are free for non/small-profit types and getting one will only take a couple of minutes.