Login   Register  
PHP Classes
elePHPant
Icontem

YAMC: Generate Encoded mailto links to avoid harvesting

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (7 years ago) RSS 2.0 feedStarStarStar 48%Total: 531 All time: 5,120 This week: 2,008Up
Version License Categories  
yamc 1.0Custom (specified in a ...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: 64
All time rank: 111 in United States United States
Week rank: 75 Down5 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:531All time:5,120
 This week:0This week:2,008Up
 User Ratings  
 
 All time
Utility:65%StarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:1730