Create index.php

This commit is contained in:
Nasir Hafeez
2025-02-11 12:07:10 +05:00
committed by GitHub
parent cc78ee2029
commit 9f6372fa8a

9
Ruijie/login/index.php Normal file
View 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");