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: 540 This week: 1All time: 5,584 This week: 560Up
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 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: 106 Down12 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 makedoc.sh Data Generate documentation with phpdoc

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