PHP Classes

YAMC: Generate Encoded mailto links to avoid harvesting

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 48%Total: 539 All time: 5,577 This week: 182Up
Version License Categories
yamc 1.0Custom (specified...HTML, Email


This class is meant to generate encoded mailto: links to prevent e-mail address harvesting done by robot scripts used by spammers to crawl the Web pages and collect e-mail addresses.

The class generates the mailto: HTML links using Javascript code also generated by the class to decode the addresses when the user clicks on the links, so mailto: links open correctly on normal browsers with Javascript support enabled.

The class also provide means to configure additional attributes of the HTML link <A> tag so you can set any other important attributes, like the link presentation style attributes.

This class is now compatible with PHP 5

Picture of Richard Munroe
Name: Richard Munroe is available for providing paid consulting. Contact Richard Munroe .
Classes: 22 packages by
Country: United States United States
Age: 73
All time rank: 112 in United States United States
Week rank: 118 Down15 in United States United States Down
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file class.YAMC.php Class Yet Another Mailto Crypter
Accessible without login Plain text file example.php Example Example
Accessible without login Plain text file license.txt Lic. Modified NetBSD License use here
Accessible without login Plain text file Data Generate documentation with phpdoc

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,577
This week:182Up
 User Ratings  
 All time