PHP Classes
elePHPant
Icontem

Anti Spam Bot Email by ASCII: Encode e-mail addresses to avoid harvesters

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  
2008-04-09 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 893 All time: 3,716 This week: 1,233Up
Version License PHP version Categories  
antispambotemail 0.0.1GNU Free Document...5.0HTML, Email, Text processing
Description Author  

This class can be used to encode e-mail addresses to avoid robots that crawl pages to harvest e-mail addresses.

It takes an e-mail address and can generate two versions: one for displaying in Web pages and another to use in mailto: links.

In both versions the @ character is replaced by alternative characters. In the mailto: link version the other characters are encoded using equivalent numeric HTML entities.

Picture of Behrouz Pooladrag
Name: Behrouz Pooladrag <contact>
Classes: 2 packages by
Country: Iran Iran
Age: 26
All time rank: 126513 in Iran Iran
Week rank: 861 Up25 in Iran Iran Down

Details provided by the author  
 +-------------------------------------------------------------------------
 +---------------------->> In The Name Of Allah <<-------------------------
 +-------------------------------------------------------------------------
 | Class AntiIFLSpamBotEmail version 0.0.1  (for php 5++)
 | Security Email Print 100% Protected For Spam Bot
 | Anti Span Bot Email by ASCII
 | Author  Behrouz Pooladrag  (IFLashLord) <Me [at] IFLashLord [dot] Com>
 | Email bugs/suggestions to  Me [at] iflashlord.com
 | Copyright (c) 2008 By Behrouz Pooladrag ,IFLashLord Co.
 +-------------------------------------------------------------------------
 | This script has been created and released under
 | the GNU GPL and is free to use and redistribute
 | only if this copyright statement is not removed
 +-------------------------------------------------------------------------
 +--------------| Contact 2 Behrouz Pooladrag |----------------------------
 | Email : Me [ at ] IFLashLord [dot] Com
 | WebSite : http://www.IFLashLord.Com
 | Yahoo : BehrouzPC [at] yahoo.Com
 | G-Mail : FLashLordX [at] gmail.Com
 | Mobile : +98 913 12 777 14
 +-------------------------------------------------------------------------
 | (Zakate Elame Nasher Aan Ast )
 +-------------------------------------------------------------------------
**/
/*
 +--------------| arguments |----------------------------------------------
 |*new AntiIFLSpamBotEmail (string [Email Address for AntiSpam]);
 ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 |*AntiIFLSpamBotEmail->antispambot([integer Number]);
 | Number 0  ---> For Show Email text Print
 | Number 1  ---> For Set Email to Link (mailto:..)
 | Number 2  ---> Return Randomly Part Of Eamil in Hexadecimal
 +-------------------------------------------------------------------------
*/


/* Full Exampel of This Class

$antiSpambotBehrouzpc=new AntiIFLSpamBotEmail("behrouzpc@yahoo.com"); //start class
$EmailForShow=$antiSpambotBehrouzpc->antispambot(0);  // for show mode return
$EmailForLink=$antiSpambotBehrouzpc->antispambot(1);  // for link mode return
print "<a href='mailto:".$EmailForLink."'>".$EmailForShow."</a>"; //and Print

*/

/* Result is this Type

<a href='mailto:&#98;&#101;h&#114;%6f%75zpc&#64;y&#97;%68o&#111;%2e&#99;%6f%6d'>
&#98;eh&#114;&#111;&#117;&#122;pc&#64;&#121;aho&#111;.&#99;om</a>

*/
  Files folder image Files  
File Role Description
Plain text file antiSpamEmail-IFLashLord-php4.php Class anti Spam Bot Email php4
Plain text file antiSpamEmail-IFLashLord-php5.php Class class Orginal File
Accessible without login Plain text file example.php Example Example Anti Spam Bot Email
Accessible without login Plain text file README.txt Doc. README

 Version Control Unique User Downloads Download Rankings  
 0%Total:893All time:3,716
 This week:0This week:1,233Up