Connect PHP by Api to Mikrotik

0

Hello my question is how to establish two simultaneous connections to two mikroitk teams with user and pass in php through a link api my link code is as follows: (EYE one the teams have the same user and pass and port per api, only change the ip one is in the ip 192.168.1.1 and the other in the 192.168.1.2)

<?php
// tu MySQL
$ipmysql="localhost"; 
$Usermysql="root";
$Passmysql="";
$puertomysql="3306";
$basemysql="mkbase";

// Equipo1
$ipRouteros="192.168.1.1"; //Se obtiene de la base
$Username="api";
$Pass="12345678";
$api_puerto=8728;
//$name=$_GET["interface"];// por parametros

?>
    
asked by Speakers95 05.01.2019 в 04:22
source

0 answers