Login   Register  
PHP Classes
elePHPant
Icontem

Mailto Encoder

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Konstantinos Dafalias
Name: Konstantinos Dafalias <e-mail contact>
Packages: 2 Browse all classes by Konstantinos Dafalias Browse all classes by
Country: Austria Austria - PHP jobs in Austria
Age: 42
All time rank: 150814 in Austria Austria
Week rank: 1093 Up7 in Austria Austria Up


  Detailed description   Download .zip .tar.gz  
This class creates a mailto: links for the given email address using equivalent character entities that replace the characters of the URLs in the link URL attributes.

This is meant to prevent that e-mail harvesting robots used by spammers to collect e-mail addresses find the e-mail addresses when they are looking for mailto: or @ text, without compromising the ability of the browsers to determine the link URLs correctly. For instance, @ becomes &#64; .

Despite the class does not provide a solution against e-mail harvesting robots that are able to decode URLs like this, the class still provides a solution with no disadvantages for the reader, as no Javascript is needed, the mailto: link is still usable, and it can still be copied from the Web pages to be pasted anywhere else.

The class also provide optional support for specifying the mailto: link text, CSS class for rendering the link, and additional parameters for predefining the the mailto: link subject and body text.

  Classes of Konstantinos Dafalias  >  Mailto Encoder  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Mailto Encoder
Base name: cmailto_encoder
Description: Encode email address links with character entities
Version: -
PHP version: -
License: GNU Lesser General Public License (LGPL)
All time users: 972 users
All time rank: 3262
Week users: 2 users
Week rank: 1352 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image Email Email sending and receiving View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (62.5%)
Sufficient (66.7%)
-
Sufficient (70.8%)
-
-
Not sure (45.0%)
1841
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file mailto_encoder.php Class The class file
Accessible without login Plain text file mailto_encoder_test.php Example Sample script

Download all files: cmailto_encoder.tar.gz cmailto_encoder.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.