Lets say i add this code below in a page. So, this code below only work if i open that page from http://www.example.com/page.php right?
if ($_SERVER['HTTP_REFERER'] != 'http://www.example.com/page.php') {
echo ('Direct Access is not allowed');
exit();
}
The problem now is, how do i set link in code above if page.php have url parameter that always change to another number? for example http://www.example.com/page.php?no=101&name=item0252
Thanks.