一片云
ID: 3
发表于 2015-05-20 16:48 - 只看楼主
0
1 2 3 4 5
楼主
.字号 较小字号 正常字号 较大字号
.IP 42.228.*.*
42.228.*.*
代码 复制 - 运行
Private Function CheckOrCreatePath( ByVal path ) Set fs = Server.CreateObject("Scripting.FileSystemObject") Dim parts parts = Split( path, "\" ) path = "" For Each part in parts path = path + part + "\" If fs.FolderExists( path ) = False Then fs.CreateFolder( path ) End If Next End Function
Private Function CheckOrCreatePath(ByVal path) Set fs = Server.CreateObject("Scripting.FileSystemObject") Dim parts parts = Split( path, "\" ) path = "" For Each part in parts path = path + part + "\" If fs.FolderExists( path ) = False and instr(path,split(rsFilePath,"/")(1))>0 Then fs.CreateFolder( path ) End If Next End Function
"imageUrlPrefix": "", /* 图片访问路径前缀 */ "imagePathFormat": "/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名
发表于 2017-10-11 00:45 - 只看该用户
沙发
.IP 125.43.*.*
125.43.*.*