<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

dedecms留言板提交后刷新会重复提交的解决办法

时间:2020-12-14

织梦默认的留言板有一个BUG,那就是用户提交一个留言后再刷新就会出现重复提交的现象,如果无限刷新就会无限提交,这样很不好,下面是解决办法:

 

找到留言板提交php源文件/plus/guestbook.php文件,在里面找到下面这句代码:

 

1 if($needCheck==1)

 

在其前上面加上如下代码


 

1 ResetVdValue(); //add by dedejs防止重复提交重新判断验证码

 

添加后就可以防止提交一个留言后只要无限次刷新就会无限次提交的BUG!

    0
    首页
    案例
    关于
    联系