Hi guys,
I have a page in which I'm checking to see if the user came through the referring page or not.
$HTTP_REFERER = '$referer = $HTTP_REFERER;
if (!($referer)) {
header ("Location: emailcheck.php"
;
exit;
}
else {
process page
}
however, it's not even reading that script and automatically loads the page.
my question is where do i specify the referrer url and how will the code work?
thanks
Arif
![[yoda] [yoda] [yoda]](/data/assets/smilies/yoda.gif)
I have a page in which I'm checking to see if the user came through the referring page or not.
$HTTP_REFERER = '$referer = $HTTP_REFERER;
if (!($referer)) {
header ("Location: emailcheck.php"
exit;
}
else {
process page
}
however, it's not even reading that script and automatically loads the page.
my question is where do i specify the referrer url and how will the code work?
thanks
Arif
![[yoda] [yoda] [yoda]](/data/assets/smilies/yoda.gif)