Help.
I was wondering if it's posible to write the contents of fckeditor to a html file on de server (not in a database) and load how to load it back in de fckeditor. with javascipt ?
Is this posible.....or is this a silly question?
thanks
I was wondering if it's posible to write the contents of fckeditor to a html file on de server (not in a database) and load how to load it back in de fckeditor. with javascipt ?
Is this posible.....or is this a silly question?
thanks

RE: Save HTML Page on server
RE: Save HTML Page on server
RE: Save HTML Page on server
RE: Save HTML Page on server
I'm new to php, can you post a php sample how to store and retrive the content to a html file on de server ?
RE: Save HTML Page on server
http://us3.php.net/manual/en/function.fopen.php
http://us3.php.net/features.file-upload
RE: Save HTML Page on server
<html> <head></head> <body> <form action="" method="POST"> <?php /*** starting editor ****/ require_once('editor/fckeditor.php'); /** You have to modify the code here for setting up corrctley the variables $sBasePath **/ $sBasePath = $_CONFIG['baseURL'] . "editor/"; $oFCKeditor = new FCKeditor('content') ; $oFCKeditor->Config['SkinPath'] = $sBasePath . 'editor/skins/silver/' ; $oFCKeditor->Config['UserFilesPath'] = $_CONFIG['OutBasePATH'] . "public/"; $oFCKeditor->BasePath = $sBasePath ; //Set the width of the editor $oFCKeditor->Width="100%"; //Set the height of the editor $oFCKeditor->Height="500px"; $oFCKeditor->Value = $content; //Set the path to the file browser //$fbPath="${sBasePath}editor/filemanager/browser/default"; //create the FCKeditor object $oFCKeditor->Create() ; ?> </form> </body> </html>Please excuse this "short" style, but I was only looking "to draw" a way to acomplish this, just like a guide. This is how I do it, mainly, with some extra modifications.
I will try to present a complete code sample later.
Ciao!
RE: Save HTML Page on server