Community discussions

MikroTik App

Search found 3 matches

by portfire
Wed May 05, 2010 11:40 am
Forum: Scripting
Topic: RouterOS PHP API class
Replies: 36
Views: 16635

Re: RouterOS PHP API class

huh... seems like that function appends '/getall' to the command. try
$conn->getall("/ip/hotspot/active");

this code worked thanks a lot.
by portfire
Wed Apr 28, 2010 9:46 am
Forum: Scripting
Topic: RouterOS PHP API class
Replies: 36
Views: 16635

Re: RouterOS PHP API class

hello i have a problem i use this api class;

i want to see online hotspot users list and use following code
$conn->getall("/ip/hotspot/active/print");
but doesnt work and give following error
trap[/ip/hotspot/active/print/getall]: no such command

How can I solve this problem?
by portfire
Tue Apr 27, 2010 4:49 pm
Forum: Scripting
Topic: RouterOS PHP API class
Replies: 36
Views: 16635

Re: RouterOS PHP API class

Hello i use this api but , I can't run the following code;
$conn->getall("/ip/hotspot/active/print");
i want to get online hotspot users list but doesnt work and gives the following error

trap[/ip/hotspot/active/print/getall]: no such command

someone can help me pls.