当前位置: 首页>>代码示例>>PHP>>正文


PHP maincf_multi::SET_BIGDATA方法代码示例

本文整理汇总了PHP中maincf_multi::SET_BIGDATA方法的典型用法代码示例。如果您正苦于以下问题:PHP maincf_multi::SET_BIGDATA方法的具体用法?PHP maincf_multi::SET_BIGDATA怎么用?PHP maincf_multi::SET_BIGDATA使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在maincf_multi的用法示例。


在下文中一共展示了maincf_multi::SET_BIGDATA方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: save

function save()
{
    $main = new maincf_multi($_GET["hostname"], base64_decode($_GET["ou"]));
    $datas = base64_encode(serialize($_GET));
    $main->SET_BIGDATA("certificate_smtp_parameters", $datas);
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?postfix-multi-sasl={$_GET["hostname"]}");
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:8,代码来源:domains.postfix.multi.certificate.php

示例2: save

function save(){
	$hostname=$_GET["hostname"];
	$array[$hostname]["enabled"]=$_GET["enable_fetchmail"];
	$array[$hostname]["schedule"]=$_GET["schedule"];
	$array[$hostname]["ou"]=$_GET["ou"];
	$main=new maincf_multi($hostname,$_GET["ou"]);
	$main->SET_BIGDATA("PostfixMultiFetchMail",base64_encode(serialize($array)));
	$sock=new sockets();
	$sock->getFrameWork('cmd.php?restart-fetchmail=yes');
	}
开发者ID:rsd,项目名称:artica-1.5,代码行数:10,代码来源:domains.postfix.multi.fetchmail.php

示例3: smtp_sasl_security_options_save

function smtp_sasl_security_options_save(){
	$main=new maincf_multi("master","master");
	$main->SET_BIGDATA("smtp_sasl_security_options",serialize($_GET));
	$sock=new sockets();
	$sock->getFrameWork("cmd.php?postfix-smtp-sasl=yes");
	}
开发者ID:rsd,项目名称:artica-1.5,代码行数:6,代码来源:postfix.routing.table.php

示例4: save

function save()
{
    $ou = base64_decode($_GET["ou"]);
    if ($_GET["hostname"] == "master") {
        $ipstr = "127.0.0.1";
    }
    $page = CurrentPageName();
    $main = new maincf_multi($_GET["hostname"], $ou, $ipstr);
    $myhostname = $main->GET("myhostname");
    if ($myhostname == null) {
        $main->SET_VALUE("myhostname", $_GET["hostname"]);
        $main = new maincf_multi($_GET["hostname"], $ou);
    }
    $main->SET_VALUE("dkimproxyEnabled", $_GET["dkimproxyEnabled"]);
    $main->SET_VALUE("dkimproxy_listenport", $_GET["listen_port"]);
    $main->SET_BIGDATA("dkimproxy_datas", base64_encode(serialize($_GET)));
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:17,代码来源:dkimproxy.php

示例5: PostFixDeleteServerCache

function PostFixDeleteServerCache()
{
    $main = new maincf_multi($_POST["hostname"]);
    $smtp_connection_cache_destinations = unserialize(base64_decode($main->GET_BIGDATA("smtp_connection_cache_destinations")));
    unset($smtp_connection_cache_destinations[$_POST["PostFixDeleteServerCache"]]);
    $smtp_connection_cache_destinations_new = base64_encode(serialize($smtp_connection_cache_destinations));
    $main->SET_BIGDATA("smtp_connection_cache_destinations", addslashes($smtp_connection_cache_destinations_new));
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?postfix-others-values=yes&hostname={$_POST["hostname"]}");
}
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:10,代码来源:postfix.performances.cache.php

示例6: debug_peer_list_del

function debug_peer_list_del()
{
    $main = new maincf_multi($_POST["hostname"]);
    $datas = unserialize(base64_decode($main->GET_BIGDATA("debug_peer_list")));
    unset($datas[$_POST["debug_peer_del"]]);
    $newdatas = base64_encode(serialize($datas));
    $main->SET_BIGDATA("debug_peer_list", $newdatas);
    $sock = new sockets();
    $sock->getFrameWork("postfix.php?postfix-debug-peer-list=yes&hostname={$_POST["hostname"]}");
}
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:10,代码来源:postfix.debug.php

示例7: EnablePOSTFWD2

function EnablePOSTFWD2()
{
    $main = new maincf_multi($_GET["instance"]);
    $array_filters = unserialize(base64_decode($main->GET_BIGDATA("PluginsEnabled")));
    $array_filters["APP_POSTFWD2"] = $_GET["EnablePOSTFWD2"];
    $main->SET_BIGDATA("PluginsEnabled", base64_encode(serialize($array_filters)));
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?postfwd2-restart={$_GET["instance"]}");
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:9,代码来源:postfwd2.php

示例8: templates_postfix_save

function templates_postfix_save()
{
    while (list($num, $ligne) = each($_POST)) {
        $_POST[$num] = url_decode_special_tool($ligne);
    }
    $template = $_POST["template_save"];
    $main = new maincf_multi($_POST["hostname"]);
    $main->SET_BIGDATA($template, base64_encode(serialize($_POST)));
}
开发者ID:articatech,项目名称:artica,代码行数:9,代码来源:postfix.notifs.php

示例9: postfix_network_delete

function postfix_network_delete(){
	$main=new maincf_multi($_GET["hostname"],$_GET["ou"]);
	$nets=unserialize($main->GET_BIGDATA("mynetworks"));	
	unset($nets[$_GET["PostFixDeleteMyNetwork"]]);
	$main->SET_BIGDATA("mynetworks",serialize($nets));
	$sock=new sockets();
	$sock->getFrameWork("cmd.php?postfix-multi-reconfigure={$_GET["hostname"]}");	
	}
开发者ID:rsd,项目名称:artica-1.5,代码行数:8,代码来源:domains.postfix.multi.config.php

示例10: del_host

function del_host()
{
    $ou = base64_decode($_GET["ou"]);
    $main = new maincf_multi($_GET["hostname"], $ou);
    $page = CurrentPageName();
    $tpl = new templates();
    $host = base64_decode($_GET["PostFixAiguilleuseServerDelete"]);
    $PostFixAiguilleuseServers = unserialize(base64_decode($main->GET_BIGDATA("PostFixAiguilleuseServers")));
    unset($PostFixAiguilleuseServers["HOSTS"][$host]);
    unset($PostFixAiguilleuseServers[$host]);
    $final = base64_encode(serialize($PostFixAiguilleuseServers));
    $main->SET_BIGDATA("PostFixAiguilleuseServers", $final);
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?postfix-multi-aiguilleuse={$_GET["hostname"]}");
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:15,代码来源:domains.postfix.aiguilleuse.php

示例11: dnsbl_delete

function dnsbl_delete(){
	$main=new maincf_multi($_GET["hostname"],$_GET["ou"]);
	$array=array();
	$array=unserialize(base64_decode($main->GET_BIGDATA("postscreen_dnsbl_sites")));
	if(!is_array($array)){$array=array();}	
	unset($array[$_GET["dnsbl-delete"]]);
	if(!$main->SET_BIGDATA("postscreen_dnsbl_sites",base64_encode(serialize($array)))){
		writelogs("{$_GET["hostname"]}/{$_GET["ou"]}: error...");
		echo "ERROR";return;
	}	
	$sock=new sockets();
	$sock->getFrameWork("cmd.php?postscreen=yes&hostname={$_GET["hostname"]}");		
}
开发者ID:rsd,项目名称:artica-1.5,代码行数:13,代码来源:postscreen.php

示例12: smtp_instance_delete

function smtp_instance_delete(){
	$instance=$_GET["smtp-instance-delete"];
	$main=new maincf_multi($_GET["hostname"],$_GET["ou"]);	
	$array=unserialize(base64_decode($main->GET_BIGDATA("domain_throttle_daemons_list")));	
	unset($array[$instance]);
	if(!$main->SET_BIGDATA("domain_throttle_daemons_list",base64_encode(serialize($array)))){writelogs("{$_GET["hostname"]}/{$_GET["ou"]}: error...");echo "ERROR";return;}
	$sock=new sockets();
	$sock->getFrameWork("cmd.php?postfix-throttle=yes&instance={$_GET["hostname"]}");
	
	
}
开发者ID:rsd,项目名称:artica-1.5,代码行数:11,代码来源:postfix.smtp.throttle.php


注:本文中的maincf_multi::SET_BIGDATA方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。