Weasel
👄 I'd intercept me
Alright, this is a part from a code I am using:
However the problem is, after the header("Location: $PHP_SELF"); it doesn't execute $result = ''.$say['wessel_loguit']; in the PHP script. Anyone knows how to fix this?
Code:
unset($result);
if($action == 'logout'){
setcookie('md5_password', '');
setcookie('username', '');
setcookie('login_referer', '');
if($config_use_sessions){
@session_destroy();
@session_unset();
setcookie(session_name(), '');
header("Location: $PHP_SELF");
$result = ''.$say['wessel_loguit'];
}
}
However the problem is, after the header("Location: $PHP_SELF"); it doesn't execute $result = ''.$say['wessel_loguit']; in the PHP script. Anyone knows how to fix this?