Community discussions

MikroTik App
 
BorrahDanikls
just joined
Topic Author
Posts: 1
Joined: Mon Oct 03, 2022 11:37 am

Mikrotik Hotspot PHP API

Fri Dec 30, 2022 9:39 am

i'm working with php api by Mikrotik, but i do not how control if the user is disconnected do not run the limit-uptime?

this is my code

$API->write("/ip/hotspot/user/add", false);
$API->write("=name=".$usuario, false);
$API->write("=limit-uptime=".$segundos, false);
$API->write("=password=".$password, true);

Who is online

Users browsing this forum: No registered users and 19 guests