PHP Classes

Luta Spam: Encode e-mail addresses to prevent harvesting

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
Not enough user ratingsTotal: 325 All time: 7,196 This week: 673Up
Version License PHP version Categories
lutaspam 1.2GNU General Publi...4.0Text processing, Security
Description 

Author

This class can be used to encode e-mail addresses to make it more difficult to grab by e-mail harvesting robots.

It can take an e-mail address and replace some of its characters to make it difficult to recognize by robots by replacing @ and . characters by respective images.

The class can also do the opposite, i.e. replace the images and decode the e-mail address by @ and . characters respectively.

Since v1.1 checks for valid email address and also encode the username part.

Since v1.2 it replaces the @ and . for images and also checks DNS records to Internet host name of the given email

Picture of David Ferreira
Name: David Ferreira <contact>
Classes: 4 packages by
Country: Portugal Portugal
Age: 43
All time rank: 185826 in Portugal Portugal
Week rank: 178 Up3 in Portugal Portugal Up

  Files folder image Files (4)  
File Role Description
Image file at.jpg Icon Image needed
Image file dot.jpg Icon Image needed
Accessible without login Plain text file example.php Example Example script on how to use LutaSpam
Accessible without login Plain text file lutaspam.class.php Class The class itself

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:325
This week:0
All time:7,196
This week:673Up
User Comments (2)
David, I was already using your class for some time and it re...
16 years ago (Jack)
70%StarStarStarStar
Nice class
16 years ago (ASantos7)
70%StarStarStarStar