I've tried both, using sessions, nothing goes through and doing it on the url it just comes out as www.mysite.com/users.php?$var1
Here's the thing... the meta refresh is basically what the function does (I believe), I have to use the function to change the page in order to keep all my other data intact.
This is what changes the page:
func_location("user.php");
Here is what func_location is:
function func_location($location, $keep_https = true, $http_error_code = 302) {
global $SESSION_NAME, $SESSID, $HTTP_COOKIE_VARS;
global $use_sessions_type, $is_location;
global $HTTP_SERVER_VARS;
global $config, $HTTPS, $REQUEST_METHOD;
$is_location = 'Y';
x_session_save();
if ($use_sessions_type < 3) {
session_write_close();
}
$added = array();
$supported_http_redirection_codes = array(
"301" => "301 Moved Permanently",
"302" => "302 Found",
"303" => "303 See Other",
"304" => "304 Not Modified",
"305" => "305 Use Proxy",
"307" => "307 Temporary Redirect"
);
$location .= (strpos($location, "?") === false ? "?" : "&").implode("&", $added);
if (!empty($hash))
$location .= "#".$hash;
}
echo "<br /><br />".func_get_langvar_by_name("txt_header_location_note", array("time" => 2, "location" => $location), false, true, true);
echo "<meta http-equiv=\"Refresh\" content=\"0;URL=$location\" />";
func_flush();
exit();
}