Ok so I want to set something up where if an un-subscribed user joins my website they get redirected to a joining page but if they are a subscribed member they stay on the homepage.
<?php
include_once("php_includes/check_login_status.php");
// Make sure the user is logged in and sanitize the session
if(isset($_SESSION['username'])){
$u = $_SESSION['username'];
} else {
echo <- Need the code here
exit();
}
?>