Re: checking if is FORM is POSTED
| From: | Omar | Date: | Wed, 04 Dec 2002 15:28:42 +0000 |
| Subject: | Re: checking if is FORM is POSTED | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-17262@lists.php.net to get a copy of this message | ||
You can do it by checking if the submit button was pressed:
if (isset($name_of_the_submit_button)) {
// the button was pressed
}
Maybe you can include checking a hidden field.
"Matt Babineau" <matt@criticalcode.com> escribió en el mensaje
news:000d01c29af0$77e6d400$0210a8c0@webdevx...
> What is the best way to check if a form is posted so people can't post
> to my forms? I want to make sure that the post is coming from the right
> page and that it is indeed a post operation.
>
> Thx,
> Matt
>