Login   Register  
PHP Classes
elePHPant
Icontem

CSS Protector

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

  Author  
Picture of Peter Klauer
Name: Peter Klauer <e-mail contact>
Packages: 18 Browse all classes by Peter Klauer Browse all classes by
Country: Germany Germany - PHP jobs in Germany
Age: 54
All time rank: 292 in Germany Germany
Week rank: 132 Down4 in Germany Germany Down
Innovation award
Innovation award
Nominee: 3x


  Detailed description   Download .zip .tar.gz  
This class can generate HTML tags to display text using CSS in such way that it prevents harvesting bots to determine what is written.

CSSProtector is based on an idea from Stu Nicholls about using CSS Font as a protection method against spam bots.

CSSProtector renames all the CSS classes used to protect the string everytime it is called, so the same string looks the same to the user but different to the bot everytime.

For Internet Explorer and Opera, CSSProtector only works on pages that use the STRICT DTD. For Mozilla it works well with STRICT and LOOSE DTD. Older browsers that do not support CSS will show nothing or a whole mess.

  Classes of Peter Klauer  >  CSS Protector  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: CSS Protector
Base name: cssprotector
Description: Display text using CSS to prevent harvesting
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 2217 users
All time rank: 1566
Week users: 2 users
Week rank: 1296 Up
 
  Groups   Screenshots Screenshots   Rate classes User ratings  
  Trackback   Applications   Related links   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image Security Security protection and attack detection View top rated classes

  Files folder image Screenshots  
Mozilla
File Role Description
Accessible without login Image file screenshot.jpg Screen Mozilla
Accessible without login Image file screenshot2.jpg Screen MS Internet Explorer
Accessible without login Image file screenshot3.jpg Screen IE in quirks mode shows garbage


  Innovation Award  
PHP Programming Innovation award nominee
May 2005
Number 5

Prize: One subscription to the PHP Magazine
One of the reasons why people get so much spam is because they left their e-mail addresses exposed in public Web site pages.

Over time many solutions have been implemented to make it difficult for robots that crawl pages in the search for e-mail addresses of spam victims.

Most solutions consist in ways that make it easy for human users to read the e-mail addresses, but very hard for robots to extract that information from pages.

This class implements an uncommonly astute solution that uses combinations of presentation styles with CSS to present the e-mail address in pages that is hard for most e-mail harvesting robots to extract the addresses.

Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Not sure (58.3%)
Sufficient (75.0%)
Good (83.3%)
Good (83.3%)
-
-
Not sure (53.3%)
1316
Month:
Not yet rated by the users

  Trackback links  
Link Description
Another way of Captcha It’s another way of captcha. Coba-in dulu, trus lihat source htmlnya, nice kan? Intinya, setiap dot yang membentuk angka2 tsb direpresentasikan oleh tag <div>! Selain phrase angka yang berbeda2, div id yang digenerate juga diproses secara random...
AuthCSS - the way to captcha The first time i read the article about Captcha at inoeng - Another way to Captcha...

  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.

  Related links  
Link Description
Test bench Switching to Quirks- and Strict mode, enter different strings
example.php The included file "example.php" at work
Stu Nicholls | The CSS Playground | A CSS font This is from where the idea for CSSProtector comes

  Files folder image Files  
File Role Description
Plain text file class_cssprotector.php Class Protect strings using CSS classes and divs
Accessible without login Plain text file example.php Example This is an example of how to use the class
Accessible without login Plain text file manual.txt Doc. About CSSProtector, how to use it, function list

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