解封 [英] unsetting

查看:82
本文介绍了解封的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于按下提交按钮的测试,我有以下内容:


if(isset($ _ POST [''theSubmitButton''])){


这很好用,我已经做了很长时间了。这是

问题:


如果我提交并让它回到同一页面,一切都很好。如果我现在点击浏览器刷新按钮,我会收到另一个提交。我如何

" unset"

点击刷新按钮后,状态让我不认为我点击了提交按钮?


雪莉

解决方案

_POST [''theSubmitButton''])){


这很好用,我已经做了很长时间了。这是

问题:


如果我提交并让它回到同一页面,一切都很好。如果我现在点击浏览器刷新按钮,我会收到另一个提交。我如何

" unset"

点击刷新按钮后,状态不会让我觉得我点击了提交按钮?


Shelly

2006年11月13日星期一23:17,Shelly [sh************@asap-consult.com]

在留言中写道< C2 ***************** @ newsread2.news.pas.earthlink。 net>


我对按下提交按钮的测试有以下内容:


if(isset(


_POST [''theSubmitButton''])){


这很好用,我已经做了很长时间了。这是

问题:


如果我提交并让它回到同一页面,一切都很好。如果现在点击浏览器刷新按钮,我将获得另一个提交。我如何

" unset"状态,以便当我点击刷新按钮时,我不认为我点击了提交按钮




Dunno,作为PHP的相对新手,但是快速谷歌提出了这个

链接 - http://uk.php.net/isset


这有帮助吗?


I have the following for a test of the submit button being pressed:

if (isset($_POST[''theSubmitButton''])) {

This works fine and I have been doing this for a long time. Here is the
question:

If I do a submit and have it come back to the same page, all is fine. If I
now click the browser refresh button, I get another submittal. How do I
"unset" the status so that it doesn''t think I clicked the submit button when
I click the refresh button?

Shelly

解决方案

_POST[''theSubmitButton''])) {

This works fine and I have been doing this for a long time. Here is the
question:

If I do a submit and have it come back to the same page, all is fine. If I
now click the browser refresh button, I get another submittal. How do I
"unset" the status so that it doesn''t think I clicked the submit button when
I click the refresh button?

Shelly


On Monday 13 November 2006 23:17, Shelly [sh************@asap-consult.com]
wrote in message <C2*****************@newsread2.news.pas.earthlink. net>

I have the following for a test of the submit button being pressed:

if (isset(


_POST[''theSubmitButton''])) {

This works fine and I have been doing this for a long time. Here is the
question:

If I do a submit and have it come back to the same page, all is fine. If
I
now click the browser refresh button, I get another submittal. How do I
"unset" the status so that it doesn''t think I clicked the submit button
when I click the refresh button?

Dunno, being a relative newbie to PHP, but a quick Google brings up this
link - http://uk.php.net/isset

Does that help?


这篇关于解封的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆