Create index.php
This commit is contained in:
9
Ruijie/login/index.php
Normal file
9
Ruijie/login/index.php
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$gw_address = $_GET['gw_address'];
|
||||||
|
$gw_port = $_GET['gw_port'];
|
||||||
|
$mac = $_GET['mac'];
|
||||||
|
|
||||||
|
$url = "http://" . $gw_address . ":" . $gw_port . "/wifidog/auth?token=" . $mac;
|
||||||
|
|
||||||
|
header("Location: $url");
|
||||||
Reference in New Issue
Block a user