PHP Classes

AntiSpam Feedback: Verify the e-mail of users sending feedback forms

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 66%Total: 2,203 All time: 1,775 This week: 74Up
Version License PHP version Categories
antispam_feedback 1.0GNU Free Document...4.0Email, Validation
Description 

Author

This package can be used to validate the e-mail addresses of users of feedback forms before accepting and sending the feedback messages.

It sends an e-mail message to the user submitting a feedback form with a special code in a link.

The feedback content is stored in a file on the server until the user e-mail address is validated.

When the user must accesses the link in the validation message, the feedback content is sent by e-mail to a given address of the person that is supposed to receive the feedback messages.

If the e-mail address is never confirmed after 1 day, the class will delete the feedback content file that was kept on the server.

Innovation Award
PHP Programming Innovation award nominee
January 2007
Number 2


Prize: One downloadable copy of Komodo Pro
Many sites use contact forms to let visitors send messages to the site owners.

One of the problems of traditional site contact forms, is that they allow anybody to send abusive messages anonymously.

This class provides a solution to avoid that problem. It requires that users provide a valid contact address to get the reply. The class sends a confirmation message to the supplied address. Only users that provide a valid contact address will receive that message. The message contains a confirmation link to release the original contact message that remains in the server until the contact address is confirmed.

This way anonymous will not be able to send abusive messages, as they always need to confirm their real e-mail address.

Manuel Lemos
Picture of Dmitry Sheiko
Name: Dmitry Sheiko <contact>
Classes: 9 packages by
Country: Belarus Belarus
Age: 50
All time rank: 701 in Belarus Belarus
Week rank: 195 Down2 in Belarus Belarus Down
Innovation award
Innovation award
Nominee: 5x

Winner: 1x

Details

AntiSpam Feedback =================== Version 1.0 - January 2007 --------------------------- Copyright (C) 2007 Dmitry Sheiko Requirements: PHP version 4.1.x+ (http://www.php.net) Works with both UNIX and Windows SPAM has become the real problem of our time. Experts reckon 70% of all email messages in 2006 were SPAM . So, this library allows creating a feedback form which doesn&#1268; send a message immediately. It sends notification to the author of the message and delivers the message to the receiver only if the author confirms his authorship. Therefore, spamers will be unable to send messages through the feedback form because they never specify their real back email addresses. Besides, the form contains an AJAX-based interface and graphical confirmation code (CAPTCHA) generator. Files: feedback.html - sample asf_controller.php - controller asf_confirm.php - confirmator asf_gencode.php - graphical code generator asf_gencode.jpg - graphical background of code generator asf.js - JS library Installation: 1) Copy all of the AntiSPAM Feedback files to a folder on your server. 2) Set this folder's access permission to 777. 3) Copy this into your page's HTML: <script type="text/javascript" src="folder_address/asf.js"></script> <style> - section <form> - section 4) Change the feedback email address in asf_confirm.php: define("FEEDBACKEMAIL", "info@site.com"); 5) Change the confirmator script in asf_controller.php: URL define("ASF_CONFIRM_URL", "http://site.com/asf_confirm.php"); That's it! Yours sincerely, Dmitry Sheiko, http://www.cmsdevelopment.com, senior web developer at Red Graphic Systems (www.redgraphic.com)

  Files folder image Files (7)  
File Role Description
Accessible without login Plain text file asf.js Data JS library
Accessible without login Plain text file asf_confirm.php Example authorship confirmation script
Plain text file asf_controller.php Class form controller
Accessible without login Image file asf_gencode.jpg Icon graphical code generator background
Accessible without login Plain text file asf_gencode.php Aux. graphical code generator
Accessible without login HTML file feedback.html Data example
Accessible without login Plain text file readme.txt Doc. readme

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,203
This week:0
All time:1,775
This week:74Up
 User Ratings  
 
 All time
Utility:87%StarStarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:75%StarStarStarStar
Examples:68%StarStarStarStar
Tests:-
Videos:-
Overall:66%StarStarStarStar
Rank:544