I'm having trouble getting $SERVER['HTTP_REFERER'] to work in a meta tag. This code:
echo '<meta http-equiv="Refresh" content="0; URL='$_SERVER['HTTP_REFERER']'">';
gives me a variable parse error.
echo '<meta http-equiv="Refresh" content="0; URL=' . $_SERVER['HTTP_REFERER']'">';
gives me a string error.
I've read through all the referer-related posts here, but can't find anything about using it in a meta tag. Is that because it won't work, or am I missing something obvious?