PHP Classes

YAMC: Generate Encoded mailto links to avoid 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
StarStarStar 48%Total: 540 All time: 5,585 This week: 488Up
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: 178 Down22 in United States United States Down
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

  Files folder image Files (4)  
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

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:540
This week:0
All time:5,585
This week:488Up
 User Ratings  
 
 All time
Utility:65%StarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:2954