RTE Installation Guide

The #1 WYSIWYG Editor updated with new features, redesigned UI.

The following guide shows the steps to implement a RichTextEditor Control into PHP applications. If you haven't downloaded the software, please download it from here.

1. Install RTE

The "richtexteditor" folder and all files it contains should be deployed to the application directory of your website.

2. Using the Editor in a PHP page

// Register Editor component to your page   
<?php require_once "richtexteditor/include_rte.php" ?>  
<?php   
        // Create Editor instance and use Text property to load content into the RTE.  
	$rte=new RichTextEditor();   
	$rte->Text="Type here"; 
        // Set a unique ID to Editor   
	$rte->ID="Editor1";    
	$rte->TempDirectory="/home/mywebsite/tmp/";    
	$rte->MvcInit();   
?>    
<html>   
<body>   
        <form id="form1" method="POST">   
            <?php     
                // Render Editor 
                echo $rte->GetString();  
            ?>   
        </form>   
</body>   
</html> 

3. Retrieving the RTE content

You can retrieve the RTE contents using the $_POST array. The name of the variable in the $_POST array will be RTE ID. For example if your RTE class ID is "Editor1", the variable would be $_POST["Editor1"].

Trusted by

25,000 Customers

Rich Text Editor has more than 25,000 customers, and has been sold in over 60 countries.

23 languages are supported, and more are being added.