How to upload images,files ... through editor?

  •  03-04-2008, 2:33 AM

    How to upload images,files ... through editor?

    How to upload images,files ... through editor?
     
    Could you please send the sample code to do this >below is the code i am using .But it's not working.Folder has read and write permissions
     
    echo 'DOCUMENT_ROOT: '.$_SERVER['DOCUMENT_ROOT'].'<br/>'; also working !
     

    <?php

    $editor=new CuteEditor();

    $editor->ID="Editor1";

    $editor->Text=$cont;

    $editor->FilesPath="CuteEditor_Files";

    $editor->ImageGalleryPath="../../upload";

    $editor->FlashGalleryPath="../../upload";

    $editor->MediaGalleryPath="../../upload";

    $editor->FilesGalleryPath="../../upload";

    $editor->CustomCulture="en-en";

    $editor->Draw();

    $editor=null;

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

    ?>

View Complete Thread