请教:字符串连接

ailsa 2005-02-25 12:15:29
dim mm
mm=CSTr(Request("mm"))

sContentPath=".." &mm& "/uploadfiles/"
response.write(sContentPath)
response.end
显示为空
可是sContentPath=".." &mm
response.write(sContentPath)
response.end
显示正确
感觉三个字符联起来就错!
...全文
72 7 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
ailsa 2005-02-25
  • 打赏
  • 举报
回复
还是不行
to hubingbin 传过来了
response.write(mm)
response.end 可以看到参数
hubingbin 2005-02-25
  • 打赏
  • 举报
回复
mm=CSTr(Request("mm"))--------------------->mm的值传过来了么?
changechange 2005-02-25
  • 打赏
  • 举报
回复
dim mm
mm=CSTr(Request("mm"))

sContentPath=".." &mm& "/uploadfiles/"
response.write(server.htmlencode(sContentPath))
response.end
ailsa 2005-02-25
  • 打赏
  • 举报
回复
不行 若是 mm=“adsad”
sContentPath=".." &mm& "/uploadfiles/"
response.write(sContentPath)
response.end
可以 不知原因?
老無所依 2005-02-25
  • 打赏
  • 举报
回复
sContentPath=".." &mm& "/"&"uploadfiles"&"/"
这样试试
ailsa 2005-02-25
  • 打赏
  • 举报
回复
调要上传页面返回时丢失Request( "mm ")
fenglik 2005-02-25
  • 打赏
  • 举报
回复
mm=Request("mm")

28,408

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧