谢谢 Roddy解答,能说详细点吗?
我在file_manager_json.asp文件里面通过这样的方式传递:
Dim action
action=request.QueryString("action")
select case action
case "image"
rootPath = "/upfiles/image/" '资源文件夹,一般设置在网站根目录,可以指定绝对路径,比如 /var/www/attached/
rootUrl = "/upfiles/image/" '插入图片时显示的目录,可以指定绝对路径,比如 http://www.yoursite.com/attached/
fileTypes = "gif,jpg,jpeg,png,bmp" '文件扩展名
case "attached"
rootPath = "/upfiles/attached/"
rootUrl = "/upfiles/attached/"
fileTypes = "doc,xls,ppt,pdf,txt,rar,zip"
case "video"
rootPath = "/upfiles/video/"
rootUrl = "/upfiles/video/"
fileTypes = "swf,flv,mp3,wav,wma,wmv,mid,avi,mpg,asf,rm,rmvb"
case "flash"
rootPath = "/upfiles/flash/"
rootUrl = "/upfiles/flash/"
fileTypes = "swf"
end select
因为你使用json传递,我不知道如何能获取上参数action,或者我这样的思路是否对?
望赐教,不胜感激!!