submitting a GET form with query string params and hidden params disappear

前端 未结 10 669
庸人自扰
庸人自扰 2020-11-22 02:22

Consider this form:

10条回答
  •  抹茶落季
    2020-11-22 03:21

    I usually write something like this:

    foreach($_GET as $key=>$content){
            echo "";
    }
    

    This is working, but don't forget to sanitize your inputs against XSS attacks!

提交回复
热议问题