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 |