I know how $HTTP_SERVER_VARS['HTTP_REFERER'] works...
Is there a way to get the referring page when it's being automatically re-routed via the <meta http-equiv="refresh"> tag?
page2.phpCode:<meta http-equiv="refresh" content="5;url=page2.php">
Both $referringURL AND $referURL return blank values. My guess is because it's not a link click but a meta refresh.Code:<?php //CHECK REFERRAL $referringURL = $HTTP_SERVER_VARS['HTTP_REFERER']; $referURL = getenv(HTTP_REFERER); ?>
How can I accomplish getting the referring URL from the meta tag?
Thanks for your help!