Please look at the example code below, when I run it, the defined part is nottranslated in the header function call, is there a special way to do the syntax or is this exact method not possible?
<?PHP
session_start();
define('SITE_URL', 'http://testsddf.com');
$_SESSION['user_role'] = 0;
//if a user is not active, redirect to verification/suspended page
if($_SESSION['user_role'] == 0){
header('Location: SITE_URL');
}
?>