Page 1 of 1
referal
Posted: Thu Jul 15, 2004 5:17 pm
by pinehead18
echo $_SERVER['referer'];
I did that trying to get the previous page that i was on. Is that not correct or something? Where in the manual can i find the details.
Thank you
Anthony
Posted: Thu Jul 15, 2004 5:25 pm
by feyd
$_SERVER['HTTP_REFERER'] I believe..
Posted: Thu Jul 15, 2004 5:29 pm
by Joe
yeah its $_SERVER['HTTP_REFERER']
Posted: Thu Jul 15, 2004 5:44 pm
by pinehead18
header("location: $_SERVER['HTTP_REFERER']");
ok i'm retarted right now, but this wont work. WTF ami doing wrong.
Posted: Thu Jul 15, 2004 5:46 pm
by tim
header("Location: {$_SERVER['HTTP_REFERER']}");
?
Posted: Thu Jul 15, 2004 6:14 pm
by Joe
If that does not work try:
echo "<meta http-equiv=refresh content='1; url=".$_SERVER['HTTP_REFERER']."'> ";