PHP Classes

Mailto: Obfuscate e-mail links using ROT13

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 353 This week: 1All time: 6,969 This week: 560Up
Version License PHP version Categories
mailto 0.0.2GNU Lesser Genera...4.2.0HTML, Email
Description 

Author

This class can be used to obfuscate e-mail links using the ROT13 algorithm.

It takes an e-mail address and an anchor text and generates HTML tags for obfuscated e-mail links using ROT13 or an 8 bit, random key, ASCII Caesar Cipher.

The generated HTML has Javascript code that decodes encoded e-mail link tags.

Picture of Debugged Interactive Designs
Name: Debugged Interactive ... <contact>
Classes: 2 packages by
Country: United States United States
Age: ???
All time rank: 1277187 in United States United States
Week rank: 411 Up48 in United States United States Up

Details

NAME: Mailto: A PHP class for obfuscating e-mail addresses from spam harvesters VERSION: 0.0.2 AUTHOR: Debugged Interactive Designs <info@debuggeddesigns.com> DOWNLOAD: The latest version can always be found at http://www.debuggeddesigns.com/open-source-projects/mailto/code DOCUMENTATION: Online documentation of the class, methods, and variables can be found at http://www.debuggeddesigns.com/open-source-projects/mailto/docs REQUIREMENTS: PHP 4.2.0 SYNOPSIS: include 'Mailto.php'; $mailto = new Mailto(); //$mailto = new Mailto('cc8b'); $encrypted_link = $mailto->createLink('spam@debuggeddesigns.com','Debugged Interactive Designs'); DESCRIPTION: What is Mailto? Mailto is a class written by Debugged Interactive Designs in PHP4 to obfuscate e-mail addresses from spam harvesters. The class lets you easily encode an entire anchor tag using ROT13 Encryption or an 8 bit random key ASCII Caesar Cipher. At run-time, javascript is used to decode the encryption. If javascript is disabled, then the e-mail address is safely shown by reversing the e-mail address using PHP and re-reversing (versing?) it at run-time using CSS. COPYRIGHT: Copyright (c) 2008 Debugged Interactive Designs. All rights reserved. This software is released under the GNU Lesser General Public License.

  Files folder image Files  
File Role Description
Accessible without login Plain text file Mailto.php Class The class source
Plain text file test.php Example Drop this test script in the same directory as the class source
Plain text file cc8b.js Class javascript file to decrypt cc8b
Plain text file rot13.js Data Code used to decode ROT13 encoded text at run-time
Plain text file README.txt Doc. Read this before you do anything else
Plain text file LICENSE.txt Lic. GNU Lesse General Public License

 Version Control Unique User Downloads Download Rankings  
 0%
Total:353
This week:1
All time:6,969
This week:560Up