Hello,
I am having trouble extracting the original referer in my 404 error script.
This is what I have so far:
1) I set the .htaccess file to the following and it works fine:
ErrorDocument 404 /404.php
2) I've tried the following variables and they all produce the same results:
$REQUEST_URI
$HTTP_REFERER
$REDIRECT_URL
3) The above mentioned variables all return "/404.php" and not the
originally requested page.
I'm a little new at this and any assistance would be greatly appreciates!
Many Thanks,
Alex
I am having trouble extracting the original referer in my 404 error script.
This is what I have so far:
1) I set the .htaccess file to the following and it works fine:
ErrorDocument 404 /404.php
2) I've tried the following variables and they all produce the same results:
$REQUEST_URI
$HTTP_REFERER
$REDIRECT_URL
3) The above mentioned variables all return "/404.php" and not the
originally requested page.
I'm a little new at this and any assistance would be greatly appreciates!
Many Thanks,
Alex
Comment