fckeditor 防止上傳非法文件 增加登錄判斷
更新時間:2012年06月27日 10:57:53 作者:
fckeditor 防止上傳非法文件 增加登錄判斷,需要的朋友可以參考下
fckeditor\editor\filemanager\connectors\asp 目錄下 兩個文件connector.asp upload.asp 里判斷是否登錄后臺
connector.asp
If ( ConfigIsEnabled = False ) Then
SendError 1, "This connector is disabled. Please check the ""editor/filemanager/connectors/asp/config.asp"" file"
End If
在這段代碼之前增加身份判斷
if 沒登錄 then
SendError 1, "no login"
end if
upload.asp
if
fckeditor 目錄改名 盡量改成fckeditor沒有關系的名字
connector.asp
If ( ConfigIsEnabled = False ) Then
SendError 1, "This connector is disabled. Please check the ""editor/filemanager/connectors/asp/config.asp"" file"
End If
在這段代碼之前增加身份判斷
if 沒登錄 then
SendError 1, "no login"
end if
upload.asp
if
fckeditor 目錄改名 盡量改成fckeditor沒有關系的名字
相關文章
一款支持插入表情的編輯器實現(xiàn)代碼(簡單思路挺重要)
先說做的是什么哈。 一個發(fā)言框,功能不多。 要求能插入表情,最終得到的代碼表情不是<img>標記,而是類似 /:haha 的表情代碼。項目做的時候有些部分用了Jquery直接上代碼了2010-07-07
Edge瀏覽器開發(fā)者工具代碼修改同步到Vscode中
這篇文章主要為答案及介紹了Edge瀏覽器開發(fā)者工具代碼修改同步到Vscode中,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進步,早日升職加薪2022-04-04
FCKeditor + SyntaxHighlighter 讓代碼高亮著色插件
FCKeditor是現(xiàn)在最為流行的開源編輯器,SyntaxHighlighter是一個用JS實現(xiàn)的代碼高亮顯示插件,F(xiàn)CKeditor + SyntaxHighlighter 讓代碼高亮著色,可以最小化修改您的程序實現(xiàn)效果2014-06-06
瀏覽器執(zhí)行history.go(-1) FCKeditor編輯框內顯示html源代碼的解決方法
使用FCKeditor編輯文章,出于某種原因提交失敗,此時瀏覽器執(zhí)行返回動作,F(xiàn)ckEditor編輯框內顯示html代碼。2010-12-12
Fckeditor XML Request error:internal server error (500) 解決方法
本文章收藏了關于FCKEditor XML Request Error:Internal Server Error(500)各種問題的解決辦法2012-09-09

