对表单填写项的检查,很多都是在服务端程序文件中判断,难道在客房端用script判断不是更节省资源吗?

c9394 2001-12-05 12:24:40
...全文
60 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
c9394 2001-12-08
  • 打赏
  • 举报
回复
Thank you.
karma 2001-12-05
  • 打赏
  • 举报
回复
sorry, not "your asp file", I should say "your server-side script code"
karma 2001-12-05
  • 打赏
  • 举报
回复
of course, but, what if
1. the client turned off javascript or
2. her browser did not support javascript or
3. someone copied your form and got rid of the validation code but still submitted the data to your asp file or
4. your validation was ok on the client side, but some hacker modified the data on the wire?
c9394 2001-12-05
  • 打赏
  • 举报
回复
谢了。

2,203

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 CGI
社区管理员
  • CGI社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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