I have read that you shouldn't rely on the $HTTP_REFERER variable to verify that previously-validated data came from the proper page...
However, if you use the getenv() function to acquire this variable, would it be "bulletproof"? By bulletproof, I mean untangible even from non-browser attacks.
$HTTP_REFERER = getenv('HTTP_REFERER'); // get ref URL
if ( $HTTP_REFERER != 'http://www.domain.com/form.php' )
{
exit;
}