$referer = $_SERVER['HTTP_REFERER'];
$referer_parse = parsel_url($referer);
if($referer_parse['host'] == "example.com" || $referer_parse['host'] == "www.example.com") {
} else { header("Location: http://www.example.com/redirected-page");
exit();
}
?>
I hope you understand so far... Since now I hosted my self the form files, so no problem to add this code to my files.
The question is how can I still do that when hosted on S-Drive ?
regards
JB
http://www.scan-and-scratch.com