hi, i need remove active connections from PPPOE of a single user from with PHP API
paste a capture screen.
routeros_api.class.php use. my syntax is similar to the following but no found
by terminal I run this command: interface pppoe-server remove <pppoe-14703>
<?php
include('routeros_api.class.php');
$Username="laklfasd";
$Pass="sadasjkdaskljd";
$api_puerto=8728;
$usuario = 'asdjlkasdl';
$ipRouteros = 'asdñaksdl';
//$comando = 'interface pppoe-server remove <pppoe-14703>';
$API = new routeros_api();
$API->debug = true;
if ($API->connect($ipRouteros , $Username , $Pass, $api_puerto)) {
$API->comm("interface pppoe-server remove <pppoe-14703>");
}
?>
THANKS!!!