Community discussions

MUM Europe 2020

Search found 10 matches

by noobitol
Wed Jul 23, 2014 3:14 pm
Forum: Scripting
Topic: API PHP why only change on top list user
Replies: 14
Views: 3913

Re: API PHP why only change on top list user

naaah exaclty...form not showing up.only show "We're sorry, but we can't change...." im already login hotspot, but the problem same.form not showing up only that words showing up.
by noobitol
Wed Jul 23, 2014 2:43 pm
Forum: Scripting
Topic: API PHP why only change on top list user
Replies: 14
Views: 3913

Re: API PHP why only change on top list user

im using php 5.5.x...i think its not my problem

php code

->getArgument('user')
do you see that code...i think its my problem.why this code different place with old code?
by noobitol
Wed Jul 23, 2014 1:50 pm
Forum: Scripting
Topic: API PHP why only change on top list user
Replies: 14
Views: 3913

Re: API PHP why only change on top list user

Here i find old code and working though only change pass in top user not by login ...but i use from wiki not working, i dont know why.
by noobitol
Wed Jul 23, 2014 1:03 am
Forum: Scripting
Topic: API PHP why only change on top list user
Replies: 14
Views: 3913

Re: API PHP why only change on top list user

In that particular menu, you should be able to just write the name in place of "$A['.id']". No need to do a print. In general, when the items in a menu have to be unique by name, the name can be used, be it the interface menu, the simple queues menu, etc. But... if I may... What made you change you...
by noobitol
Tue Jul 22, 2014 10:35 pm
Forum: Scripting
Topic: API PHP why only change on top list user
Replies: 14
Views: 3913

Re: API PHP why only change on top list user

1 more i got confuse here

php code

$API->write('/ip/hotspot/user/print');
$A = $API->read();
$A = $A[0];
$API->write('/ip/hotspot/user/set', false);
$API->write('=.id='.$A['.id'], false);
$API->write('=disabled=yes');
$API->read();
why its only disable top user? i need disable/remove by name :?
by noobitol
Mon Jul 21, 2014 7:08 pm
Forum: Scripting
Topic: API PHP why only change on top list user
Replies: 14
Views: 3913

Re: API PHP why only change on top list user

There's the GitHub wiki that contains some generic examples of most available functionality, and there's also the API reference (linked from the wiki), that gives you a full list and descriptions of all methods and everything (though without example code). I'm not aware of any tutorials for specifi...
by noobitol
Mon Jul 21, 2014 6:36 pm
Forum: Scripting
Topic: API PHP why only change on top list user
Replies: 14
Views: 3913

Re: API PHP why only change on top list user

It should be taking the "first" user that is logged in from the IP address visiting the page, which could only be the "only" user from that IP. This assumes that the web server is within the local network, so that it can see each individual user's IP. AFAIK, you can't have multiple usernames loggin...
by noobitol
Mon Jul 21, 2014 5:43 pm
Forum: Scripting
Topic: API PHP why only change on top list user
Replies: 14
Views: 3913

API PHP why only change on top list user

why this code only change password on top list user in mikrotik...not by user login :? :? <?php namespace PEAR2\Net\RouterOS; require_once 'PEAR2_Net_RouterOS-1.0.0b4.phar'; $errors = array(); try { $client = new Client('192.168.4.2', 'admin', ''); $printRequest = new Request('/ip hotspot active pri...
by noobitol
Tue Jan 28, 2014 6:25 pm
Forum: General
Topic: v6.7 released
Replies: 225
Views: 110801

Re: v6.7 released

hey everyone...
i have some question

can API PHP conect to mysql database??? i have project managemen user use PHP

system managemen user===>mysql database<===Mikrotik

can mikrotik read mysql database...???

im not talking about radius #sorry bad english :D
by noobitol
Tue Jan 28, 2014 6:12 pm
Forum: Scripting
Topic: API PHP Mikrotik + MySQL Database
Replies: 2
Views: 8504

API PHP Mikrotik + MySQL Database

hey i have any question

API PHP Mikrotik can conect to mysql database??
i have project make system managemen user...this graph my project

system===>mysql database<===Mikrotik

im very confused here, can API PHP Mikrotik read my database user?
im not talking about radius server

sorry bad english :D