Re: php tags half removed

  •  05-28-2008, 12:55 PM

    Re: php tags half removed

    Thanks that solved half the problem :) I can add the php code in now but when I load an existing page into the editor it gets stripped out. Any ideas on this? Iam using php's file_get_contents() function to read it into the $editor=> Text like this. $file is a file path I have already set up earlier in the page

                $editor=new CuteEditor();
                $editor->ID="Editor1";
                $editor->Text=file_get_contents($file);
                $editor->FilesPath="CuteEditor_Files";
                $editor->AllowEditServerSideCode=true;
                $editor->Draw();
                $editor=null;
     
View Complete Thread