I want to redirect the browser to the page it came from.
I tried using $HTTP_REFERER, but it's empty on the script page.
I tried giving a variable the value of the current url, and passing it off in the url like this:
PHP Code:
and it works fine, the variable is given to the script using the url, but then my header won't use it.
this is my header code:
PHP Code:
$url $_REQUEST['url'];
header ("Location: http://www.forsikrings-listen.no $url"); 
I also tried:
PHP Code:
$url $_REQUEST['url'];
header ("Location: http://www.forsikrings-listen.no" $url); 
and so on.
Anyone got any thips on what I'm doing wrong here?
All help appreciated.