Presentation is loading. Please wait.

Presentation is loading. Please wait.

好用的線上編輯 FCKEditor.

Similar presentations


Presentation on theme: "好用的線上編輯 FCKEditor."— Presentation transcript:

1 好用的線上編輯 FCKEditor

2 下載位置 下載FCKeditor 2.2

3 對PHP的安裝方法

4 對PHP的安裝方法 Step 1 假設FCK安裝在 /FCKeditor/ 此web server目錄下,首先先進行模組載入動作:
<? php include("FCKeditor/fckeditor.php") ; ?>

5 對PHP的安裝方法 Step 2 使用下列程式碼產生編輯區塊: <?
$oFCKeditor = new FCKeditor('FCKeditor1') ; $oFCKeditor->BasePath = '/FCKeditor/'; $oFCKeditor->Value = 'Default text in editor'; $oFCKeditor->Create() ; ?> FCKeditor1是表單傳送資料的名稱(name)

6 對PHP的安裝方法 接收輸入值 $sValue = stripslashes( $_POST['FCKeditor1'] ) ;


Download ppt "好用的線上編輯 FCKEditor."

Similar presentations


Ads by Google