drq9991 2013-12-02 06:42
浏览 38
已采纳

任何浏览器都不会提交空白表单字段吗?

When processing form input in PHP, can I safely assume that all form fields in the submitted form were sent through, or are there some browsers that will not even pass along blank fields?

Sorry if this is a common question, I just can't seem to find the answer.

  • 写回答

2条回答 默认 最新

  • dongzou3751 2013-12-02 06:45
    关注

    Remember one rule: Don't trust anything out there!

    Do not assume anything check alway everything which comes from a user and validate that values.

    But yes normally it is send.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥50 随机森林与房贷信用风险模型
  • ¥50 buildozer打包kivy app失败
  • ¥30 在vs2022里运行python代码
  • ¥15 不同尺寸货物如何寻找合适的包装箱型谱
  • ¥15 求解 yolo算法问题
  • ¥15 虚拟机打包apk出现错误
  • ¥15 用visual studi code完成html页面
  • ¥15 聚类分析或者python进行数据分析
  • ¥15 三菱伺服电机按启动按钮有使能但不动作
  • ¥15 js,页面2返回页面1时定位进入的设备