<?php
  //http://www.fckeditor.net/
  include("fckeditor/fckeditor.php");
?>
<html>
  <head>
     <title>Redaktoriproov</title>
  </head>
  <body>
     <form method="post">
        <?php
           $r=new FCKeditor("tekst1");
           $r->BasePath="fckeditor/"; //suhteline kataloog, kus kood lahti pakitud
           $r->Value="Proovitekst";
           $r->Create();
        ?> 
          <br />
        <input type="submit" value="Vajuta" />
     </form>   
     <?php
        echo "Kirjutati: ".$_REQUEST["tekst1"];
     ?>
  </body>
</html>