Hello everyone,
First of all, let me just say that I’m not a very experienced PHP developer.
Now, I’m writing a basic system to integrate dynamic behaviors into my website.
I’m using .htaccess to redirect a certain page to my script.
The problem with this is that my script depends on the following:
$_SERVER['HTTP_REFERER']
which seems to have no value when the page is redirected using .htaccess.
Can anyone offer any solutions as to how I can make the above PHP variable contain the redirected URL as the referer after being redirected?