I have one problem,the script in mikrotik is script that remove address from address list and working great when runing from winbox.But when i run php code:
require('api.php');
$API = new routeros_api();
$API->debug = true;
if ($API->connect('111.111.111.1', 'adop', 'user')) {
$API->write('/system/script/run',false);
$API->write("=.id=*16");
$API->disconnect();
}
count on winbox for this script is say that script is runed and every time i runed this php code count is rising but nothing happend.What is problem,authorisating or somthing???Sorry for bad english