Install FCKeditor

Header

<script type=”text/javascript” src=”Scripts/fckeditor/fckeditor.js”></script>

Body

<script type=”text/javascript”>

window.onload = function()

{

var oFCKeditor = new FCKeditor( ‘n_message_<?php echo $cnt1; ?>’ ) ;

oFCKeditor.BasePath = “Scripts/fckeditor/” ;

oFCKeditor.Height = 600 ;

oFCKeditor.Width = 800 ;

oFCKeditor.ReplaceTextarea() ;

}

</script>

 

Config

\Scripts\editors\fckeditor\editor\filemanager\connectors\php

end edit the config.php

// Path to user files relative to the document root.

$Config[‘UserFilesPath’] = ‘http://ns2/***/images/’ ;

$Config[‘UserFilesAbsolutePath’] = ‘C:/xampp/htdocs/***/images/’ ;

Leave a comment