Currently working on a project that requires the following:
I have this page, and I wanna make sure the contents cannot be seen unless the visitor is coming from a pre-defined URL.
I know that can be easily accomplished via $_SERVER['HTTP_REFERER'], but the URL that will precede the actual page is only an automated header() redirector, and not an actual page, that contains a clickable link for the users to click on and get redirected.
$_SERVER['HTTP_REFERER'] does not seem to work for an automated redirect.
How should I address this issue?