PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2006-12-13 (9 years ago) RSS 2.0 feedStarStarStar 48%Total: 534 All time: 5,337 This week: 1,134Up
Version License Categories
yamc 1.0Custom (specified...HTML, Email
Description Author

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 <contact>
Classes: 22 packages by
Country: United States United States
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 makedoc.sh Data Generate documentation with phpdoc

 Version Control Unique User Downloads Download Rankings  
 0%
Total:534
This week:0
All time:5,337
This week:1,134Up
 User Ratings  
 
 All time
Utility:65%StarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:2203