CuteEditor for PHP 6.1 Class Library

SaveFile Method

Loads the contents of a HTML file into the CuteEditor control.


Example Code

<?php
         $editor=new CuteEditor();
         $editor->ID="Editor1";
         $editor->Text="Type here";
         $editor->FilesPath="CuteEditor_Files";
         $editor->SaveFile("some.html");
         $editor->Draw();
         $editor=null; 

         //use $_POST["Editor1"]to catch the data
?>

See Also

Editor Class | CuteEditor Namespace