header('Location: '.$_SERVER['HTTP_REFERER']); not working..
Posted: Fri Nov 09, 2007 3:42 pm
This...
...isn't working.
Lets say I am on page2.php. I click the sign-out script link which brings me to sign-out.php. Instead of redirecting me to the page I was on (page2.php) I get redirected to page1.php. I didn't sign-out on page1.php...I signed out on page2.php. I just want to get this to work please.
Code: Select all
header('Location: '.$_SERVER['HTTP_REFERER']);Lets say I am on page2.php. I click the sign-out script link which brings me to sign-out.php. Instead of redirecting me to the page I was on (page2.php) I get redirected to page1.php. I didn't sign-out on page1.php...I signed out on page2.php. I just want to get this to work please.