EnableAntiSpamEmailEncoder Property

Rich Text Editor for PHP

RichTextEditor for PHP 8.0 Class Library

Editor.EnableAntiSpamEmailEncoder Property

Email contact links are an invaluable part of any web page. However, they are also vulnerable to a particular type of web robot known as the spam harvester or spambot. A spam harvester can read through the pages in your site and extract email addresses which are then added to bulk marketing databases. RichTextEditor allows you reduce possible spam by 'disguising' a raw email address in an encoded ASCII form.. You can turn this feature off by setting this property to "false".

Example

<?php   
    $rte=new RichTextEditor();   
    $rte->Text="Type here"; 
    $rte->EnableAntiSpamEmailEncoder=false;   
    $rte->ID="Editor1";    
    $rte->MvcInit();
    echo $rte->GetString();  
    // use $_POST["Editor1"]to retrieve the data  
?> 

See Also

Editor Class | RTE Namespace