need help

How can i remove simple queue from the router???
i am currently using the PHP API provided at http://wiki.mikrotik.com/wiki/API_PHP_class
by Denis Basta…

i need to run “/queue simple remove <queue_name>”
using PHP API

Using the PHP client from my signature, you can do pretty much exactly that:

<?php
using PEAR2\Net\RouterOS;
require 'PEAR2_Net_RouterOS-1.0.0b3.phar';

$client = new RouterOS\Client('192.168.0.1', 'admin', 'password');
$client(new RouterOS\Request('/queue simple remove numbers=<queueName>')); 

But if you insist on using Denis’ client, then it would be more like

<?php
require 'routeros_api.class.php';

$API = new routeros_api();
$API->connect('192.168.0.1', 'admin', 'password');
$API->comm('/queue/simple/remove', array('numbers' => '<queueName>')); 

thank u so much , it worked… thankx