Hi
You could either use
$_SESSION['previous_page'] = $_SERVER['PHPSELF']."?".$HTTP_SERVER_VARS['QUERY_STRING'];
which would have to be in the previous page
or you could try using the reffer document
$_SESSION['previous_page'] = $_SERVER['HTTP_REFERER'];
but you would have to use this code in the document that you were executing.
LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks