PHP Classes
Icontem

Class: Mailto Encoder


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Konstantinos Dafalias  >  Mailto Encoder  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Mailto Encoder Support forum
Base name: cmailto_encoder
Description: Encode email address links with character entities
Related top rated classes: , ,
Version: -
Required PHP version: -
License: GNU Lesser General Public License (LGPL)
All time users: 856 users
All time rank: 2744
Week users: 0 users
Week rank: 3665
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Konstantinos Dafalias
Name: Konstantinos Dafalias <e-mail contact>
Published packages: 2 Browse this author's classes Browse this author's classes
Country: Austria Austria - PHP jobs in Austria
Home page: http://logopralinen.at/
Age: 39
All time rank: 1265
Week rank: 2135

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

Detailed description

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.

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%)
1562
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

File Role Description
Plain text file mailto_encoder.php Class The class file
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.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products