We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i want to use this command by php ip hotspot active print detail where user=username
ip hotspot active print detail where user=username
i try to use this code but i think it wrong $ARRAY = $API->comm("/ip/hotspot/active/print/detail/where", array( "user" => "username", ));
$ARRAY = $API->comm("/ip/hotspot/active/print/detail/where", array( "user" => "username", ));
output message [message] => no such command prefix
[message] => no such command prefix
The text was updated successfully, but these errors were encountered:
done. thanks $ARRAY = $API->comm("/ip/hotspot/active/print", array( "?user"=>"username", ));
$ARRAY = $API->comm("/ip/hotspot/active/print", array( "?user"=>"username", ));
Sorry, something went wrong.
If you would like to use command where with or, like this one in terminal.
where
or
/ip dhcp-server lease print where address=192.168.1.11 or address=192.168.1.12 or address=192.168.1.13
Here is sample code.
$API->write('/ip/dhcp-server/lease/print', false); $API->write('?address=192.168.1.11', false); $API->write('?address=192.168.1.12', false); $API->write('?#|', false); $API->write('?address=192.168.1.13', false); $API->write('?#|'); $result = $API->read(); // use `$result` variable.
See reference from manual here, and here.
No branches or pull requests
i want to use this command by php
ip hotspot active print detail where user=username
i try to use this code but i think it wrong
$ARRAY = $API->comm("/ip/hotspot/active/print/detail/where", array( "user" => "username", ));
output message
[message] => no such command prefix
The text was updated successfully, but these errors were encountered: