コード例 #1
0
function main_icap_class_addservice_ajax()
{
    $class_name = $_GET["class_name"];
    $hostname = $_GET["hostname"];
    $service = $_GET["SquidIcapAddServiceFromTable"];
    $squid = new squid($_GET["hostname"]);
    $squid->icap_add_service_in_class($class_name, $service);
}