Junior Member
joined:May 1, 2005
posts:108
votes: 0
Hello. I don't know if it's possible, but I want to block form submissions that come from anywhere other than my own website.
For example, let's say I have this form:
<form action='http://site.com/somepage' method='post'>
<input type='hidden' name='num' value='123' />
<input type='submit' name='post' value='Go'/>
</form>
Currently, someone can just copy this form to their desktop, open it in notepad, change the "123" to "789", then submit it.
Is there a way to block off-site submissions with htaccess (or anything else)?
Thanks.