FCKeditor - PHP - Sample 1
This sample displays a normal HTML form with an FCKeditor with full features enabled.
BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. $sBasePath = $_SERVER['PHP_SELF'] ; $sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ; $oFCKeditor = new FCKeditor('FCKeditor1') ; $oFCKeditor->BasePath = $sBasePath ; $oFCKeditor->Value = '
This is some
sample text
. You are using
FCKeditor
.
' ; $oFCKeditor->Create() ; ?>