去除eWebEditor上传文件类型限制和上传大小限制

来源:百度知道 编辑:UC知道 时间:2024/07/05 18:27:08
RT

完美去除eWebEditor上传文件类型限制和上传大小限制的方法

在文件夹 \WebEditor\asp\config.asp 文件中第31行如下:
aStyle(9) = "coolblue|||blue|||coolblue|||uploadfile/|||550|||350|||rar|zip|exe|doc|xls|chm|hlp|pdf|txt|ppt|||swf|||gif|jpg|jpeg|bmp|||rm|mp3|wav|mid|midi|ra|avi|mpg|mpeg|asf|asx|wma|mov|||gif|jpg|jpeg|bmp|||5000|||100|||100|||100|||100|||1|||1|||EDIT|||1|||0|||0|||||||||1|||0|||(Default Style) Cool blue interface, blue tone, standard style, some of the commonly used buttons, standard suitable width for the interface|||1|||en|||0|||500|||300|||0|||Copyright...|||000000|||12|||Verdana||||||0|||jpg|jpeg|||300|||FFFFFF|||1"

程序中调用代码如下:
For i = 1 To Ubound(aStyle)
aStyleConfig = Split(aStyle(i), "|||")
If Lcase(sStyleName) = Lcase(aStyleConfig(0)) Then
bValidStyle = True
Exit For
End If
Next

我使用的是coolblue 样式,所以是上面的那一条记录啦,下面是针对Split出来的数组数据的描述
0=样式名称,
1=按钮图标文件夹,
2=Css样式文件夹,
3=上传文件保存位置,
4=