have u ever been know, how to print list on terminal mikrotik about show rx-rate & tx-rate on “ip hotspot active print”
i make simple program for my php api but i have problem here, i dint know the name of “rx-rate & tx-rate” on terminal mikrotik not on winbox..
include(‘koneksi/koneksi_php_api.php’);
if($API->connect($hostname,$username,$password));
{
$API->write("/ip/hotspot/active/getall");
$user=$API->read();
foreach ($user as $data):
?>
<tr>
<td><?php echo $data['user']; ?></td>
<td><?php echo $data['address'];?></td>
<td><?php echo $data['uptime'];?></td>
<td></td>
<td><?php
endforeach; $API->disconnect();}