Dear Expert/GURU
I’m new for using PHP-Api Mikrotik.
Currently, I use routeros 5.26. Diagram like this Mikrotik 192.168.88.98–> PC 192.168.88.1
I tested with ping and telnet It’s ok as shown in telnet_get.jpg.
However when using PHP_API we only captured some packets as show in php_get.jpg.
The result connection attempt appers many time until no response as show in web_browser.jpg
Please advise , how to solve the problem.
Thank you very much
Banatus S
Here is my script int_list.php
<?php require('routeros_api.class.php'); $API = new routeros_api(); $API->debug = true; if ($API->connect('192.168.88.98', 'admin', ' ')) { $API->write('/interface/getall'); $READ = $API->read(); $ARRAY = $API->parse_response($READ); print_r($ARRAY); $API->disconnect(); } ?>

