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" <[EMAIL PROTECTED]> escribió en el mensaje
000d01c29af0$77e6d400$0210a8c0@webdevx">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
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to