Should the guest policies of the unifi controller be external portal Server?
if so, how would the mac address be passed?
// Setup the session variables and display errors if not set if ($_GET['id']) { $_SESSION['id'] = $_GET['id']; } else { echo "Direct Access is not allowed"; exit(); } if ($_GET['url']) { $_SESSION['url'] = $_GET['url']; } else { $_SESSION['url'] = 'http://www.google.com'; }
looking up authorize.php, the 'id' in the session will be used as the mac address, how can php get the mac address in the index.php in the 1st place?
Should the guest policies of the unifi controller be external portal Server?
if so, how would the mac address be passed?
// Setup the session variables and display errors if not set if ($_GET['id']) { $_SESSION['id'] = $_GET['id']; } else { echo "Direct Access is not allowed"; exit(); } if ($_GET['url']) { $_SESSION['url'] = $_GET['url']; } else { $_SESSION['url'] = 'http://www.google.com'; }
looking up authorize.php, the 'id' in the session will be used as the mac address, how can php get the mac address in the index.php in the 1st place?