print ppp active connections and interface list PEAR2 PHP

Like I said, you’re never sending the request… same as with your other recent topic.

So:

if (isset($_POST['act'])) 
{
   foreach ($_POST['act'] as $act => $itemID) 
   {
      if (in_array($act, array('remove')))   
         {      
            $remove=new RouterOs\Request("/ppp/active/{$act}");
            $remove->setArgument('numbers', $itemID);

            $client->sendSync($remove);
         }
   }
}