Ver original$ref = $_SERVER['HTTP_REFERER];if($ref != "http://xxx.com/form.html"){header('Location: /otra_pagina.html)}