A
Anonymous
Guest
How do I make it so that some pages only accept forms that come from my website?, so people can't create forms from other websites and link them to mine.
<?php
if ($_SERVER[HTTP_REFERER] != 'lastpage.php')
{
die('dont try to hack')
}
?>
if($_SERVER['HTTP_REFERER'] != "http://yourdomain.com/lastpage.php")