<%
m_session.setAttribute("eWebEditor_news_FileSize", "100"); //限制每个上传文件最大100KB
m_session.setAttribute("eWebEditor_news_FileBrowse", "1"); //允许服务器端文件浏览
m_session.setAttribute("eWebEditor_news_SpaceSize,
"100"); //限制上传空间最大允许100MB
m_session.setAttribute("eWebEditor_news_SpacePath",
"d:\\user1\\");
//空间限制路径,此项不设则取上传文件夹
m_session.setAttribute("eWebEditor_news_PathMode",
"1");
//使用绝对根路径
m_session.setAttribute("eWebEditor_news_PathUpload",
"../uploads/"); //上传路径
m_session.setAttribute("eWebEditor_news_PathCusDir",
"user1/"); //实际传到../uploads/user1/
……
%>
<iframe src="ewebeditor.htm?id=content1&skey=news"></iframe>
|