Re: Dynamically Specifying Image Upload Directory

  •  07-10-2009, 12:47 PM

    Re: Dynamically Specifying Image Upload Directory

    1. <?php include_once("CuteEditor_Files/include_CuteEditor.php") ; ?>   
    2. <html>   
    3.     <head>   
    4.     </head>   
    5.     <body>   
    6.     <form name="theForm" action="Get_HtmlContent.php" method="post">   
    7.             <?php   
    8.                 $editor=new CuteEditor();   
    9.                 $editor->ID="Editor1";   
    10.                 $editor->Text="Hello World";        
    11.                 $editor->EditorBodyStyle="font:normal 12px arial;";   
    12.                 $editor->FilesPath="/CuteEditor_Files";   
    13.                 $editor->Draw();   
    14.         $editor->ImageGalleryPath = "/Uploads";   
    15.                 $editor=null;   
    16.                    
    17.                 //use $_POST["Editor1"]to catch the data    
    18.             ?>   
    19.         </form>   
    20.     </body>   
    21. </html>  

     

     
    Please check the above code.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread