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

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

Consider this form:

10条回答
  •  再見小時候
    2020-11-22 03:11

    If you need workaround, as this form can be placed in 3rd party systems, you can use Apache mod_rewrite like this:

    RewriteRule ^dummy.link$ index.php?a=1&b=2 [QSA,L]
    

    then your new form will look like this:

    
     
    
    

    and Apache will append 3rd parameter to query

提交回复
热议问题