FCKeditor控件中,图片不能上传的功能
来源:互联网 发布:广州时代微盟网络 编辑:程序博客网 时间:2024/05/22 13:30
1、FCKeditor控件中,图片不能上传的功能:
<1>、修改文件上传路径:FCKeditor/editor/filemanager/connectors/aspx/config.ascx 文件下:
UserFilesPath = "~/UpFile/FCKeditor";
<2>、对应的在项目 UpFile/FCKeditor/文件夹下,新建三个文件夹: File Image Flash
<3>、设置用户是否拥有上传的权限:用户登录成功后,再_Default.aspx文件中保存
//登录成功,设置该会员是否有操作 FCKeditor 图片上传的功能
if (_Customer.Competences.IsOwnedCompetences(Competences.Administrator))
{
Session["IsAuthorized"] = true;
}
<4>、取Session值:
SFS_BQW/Components/FCKeditor/editor/filemanager/connectors/aspx/config.ascx 文件中取该Session值做判断;
private bool CheckAuthentication()
{
// WARNING : DO NOT simply return "true". By doing so, you are allowing
// "anyone" to upload and list the files in your server. You must implement
// some kind of session validation here. Even something very simple as...
//
// return ( Session[ "IsAuthorized" ] != null && (bool)Session[ "IsAuthorized" ] == true );
//
// ... where Session[ "IsAuthorized" ] is set to "true" as soon as the
// user logs in your system.
return (Session["IsAuthorized"] != null && (bool)Session["IsAuthorized"] == true); //获取Sesssion值
}
- FCKeditor控件中,图片不能上传的功能
- fckeditor 在php中开启图片上传的功能
- 自定义FCKeditor的图片上传功能
- fckeditor不能上传图片文件
- 解决FCKeditor在Structs2中不能上传图片
- 删除fckEditor编辑器中上传的图片
- FCKeditor中添加删除图片的功能!
- FCKeditor中添加删除图片的功能!
- PHP 中配置 ckeditor(fckeditor的新版本)+ckfinder ,实现上传图片功能。
- Fckeditor中使用图片上传
- .net fckeditor上传图片功能解决方案
- Fckeditor上传图片的错误
- JSF(JSP)中使用FCKeditor上传图片问题的解决
- 支持预览功能的图片上传控件
- Jsp中使用FCKeditor上传图片
- Jsp中使用FCKeditor上传图片
- Jsp中使用FCKeditor上传图片
- Jsp中使用FCKeditor上传图片
- Oracle组成环境介绍
- subversion安装配置指南
- oracle 数据仓库提高访问速度方法
- Serv-U中文文件名或路径 无法上传与下载的解决办法
- 在linux安装telnet服务器
- FCKeditor控件中,图片不能上传的功能
- 空间平面法向量求法(转)
- Oracle10g:数据的导入导出
- 一些技术站点
- 数据库设计方法
- form2到form7的数据单向传输
- CListCtrl 使用技巧
- C#线程调用带参数的方法 ~
- OpenGL小结12箴言(1)