PS:转载T00LS; Q) Z1 K0 Y) R9 j9 e% q http://t.qq.com/MakeBugT00LS# F. X: ^# s- h http://hi.baidu.com/micropoor |
'\admin\admin_upfile.asp <% '略 dim folderList,folderNum,i,folderAttr,fileList,fileNum,j,fileAttr,folder,filedir,filename,lastLevelPath dim dirTemplate : dirTemplate="../Upload" dim path : path=getForm("path","get") : if isNul(path) then path= dirTemplate if left(path,9)<>"../Upload" then alert "只允许编辑Upload目录","admin_upfile.asp" : die "" '略 %>
判断问题。T00LS+ F$ l9 p) s" t% A% N
T00LS; u- @6 D+ J0 y
利用方法:
'\admin\admin_template.asp <% checkPower '略 dim folderList,folderNum,i,folderAttr,fileList,fileNum,j,fileAttr,folder,filedir,filename,lastLevelPath dim dirTemplate : dirTemplate="../template" dim path : path=getForm("path","get") : if isNul(path) then path= dirTemplate if left(path,11)<>"../template" then alert "只允许编辑template目录","admin_template.asp" : die "" '略 %>利用方法: