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沒有關系的名字
相關文章
又一個不錯的FCKeditor 2.2的安裝、修改和調用方法
又一個不錯的FCKeditor 2.2的安裝、修改和調用方法...2007-11-11常用網頁編輯器漏洞手冊(全面版)fckeditor,ewebeditor
常用網頁編輯器漏洞手冊(全面版)fckeditor,ewebeditor,使用這類編輯器的朋友一定要注意下。2011-04-04SyntaxHighlighter?Autoloader(自動加載)最優(yōu)方式
SyntaxHighlighter是一款用于web頁面的代碼著色工具,可以用來著色多種語言,可以是HTML,CSS,Javascript,還可以是C,JAVA等編程語言,這里為大家介紹一下比較好的加載方案2023-06-06使用 CodeMirror 打造屬于自己的帶高亮顯示的在線代碼編輯器
寫這個的目的是因為之前項目里用到過 CodeMirror,覺得作為一款在線代碼編輯器還是不錯,也看到過有些網站用到過在線代碼編輯,當然我不知道他們是用什么做的2018-02-02fckeditor常用Js,獲取fckeditor內容,統(tǒng)計fckeditor字數,向fckeditor寫入指定代碼
fckeditor常用Js,獲取fckeditor內容,統(tǒng)計fckeditor字數,向fckeditor寫入指定代碼2010-08-08整合ckeditor+ckfinder,解決上傳文件路徑問題
現在fckeditor已經改名為ckeditor,上傳控件也分離為ckfinder,按照說明文檔的默認配置會出現上傳路徑不正確的情況,因為我們的網站可以通過定義默認網站、虛擬目錄、以及放在網站的子目錄下進行訪問2011-11-11