Community discussions

MUM Europe 2020
 
jalokim
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Thu Dec 07, 2006 1:39 pm
Location: PL, Tychy
Contact:

API@PHP issues with SET

Tue May 19, 2009 4:02 pm

Hi,

I'm tring to run this:
	$API->write('/ip/firewall/nat/set', false);
	$API->write('=disalbed=yes', false);	
	$API->write('=.id=*4');	
With no result. Any output with:
$API->debug = true;
Can you help?

M.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 24417
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: API@PHP issues with SET

Tue May 19, 2009 4:07 pm

disalbed
???
No answer to your question? How to write posts
 
jalokim
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Thu Dec 07, 2006 1:39 pm
Location: PL, Tychy
Contact:

Re: API@PHP issues with SET

Tue May 19, 2009 11:38 pm

disalbed
???
OMG, Normis thanks - i had bad day today ;)

M.
 
isnaijal
just joined
Posts: 3
Joined: Tue May 05, 2015 8:01 pm

Re: API@PHP issues with SET

Tue May 05, 2015 8:09 pm

help

>>interface bridge filter set numbers=0 action=drop


$API->write('/interface/bridge/filter/set', false);
$API->write('=action=drop', false);
$API->write('=.id=0');


this wrong

Who is online

Users browsing this forum: No registered users and 16 guests