If you want to make an email address available on a web page or inside an HTML form but are concerned by this address potentially being harvested by a web robot, here is a simple solution : encode it ! This simple CodeEmail.php class provides a very simple way of encoding email addresses that should prevent such robots to harvest your web site.