prestigeplus
New Member
- Messages
- 7
- Reaction score
- 0
- Points
- 0
I have a page that sends an email with data retrieved from the previous page's POST data. The problem is, if the user visits the email page directly, it will send an email but with blank variables. Is there a way to restrict access to the page so you can only send the email by clicking the form submit button?
If there is a way, people can just hit back and submit again, which leads me to another question. Can I limit the amount a user can submit that form to say...2 times per hour every 2 hours (Ex: Submit 2 times at 1:05 P.M., wait until 3:05 P.M. to submit again)?
If there is a way, people can just hit back and submit again, which leads me to another question. Can I limit the amount a user can submit that form to say...2 times per hour every 2 hours (Ex: Submit 2 times at 1:05 P.M., wait until 3:05 P.M. to submit again)?