This PHP class is used to convert text characters into numeric HTML entities. The advantages of displaying HTML entities in the source code of your page is as follows:

  • cloaks your email addresses from spiders and email-digging bots
  • hides important information from web scrapers
  • source code will be optimized for web browsers
  • obfuscates your source code since users will see lots of HTML entities
  • this class is portable to any PHP projects that requires entitizing

You can find this class on PHP Classes through this link:
http://www.phpclasses.org/package/5936-PHP-Convert-text-into-numeric-HTML-entities.html

Tagged with:
 

One Response to Entitize Class for PHP 5

  1. [...] Entitize Class for PHP 5 (phpclasses.org) – hides plain text in HTML by converting string characters into HTML entities [...]

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>