Next, I have a contact form on a page, and I would like it to only work inside the page itself, not that third parties can send POST requests by malicious programs or ETC, something like a "lock" so that on that page some verification code is generated, how can I do this?
Simple structure:
<form method="post">
<input type="text" name="teste" />
</form>