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


PHP save_process函数代码示例

本文整理汇总了PHP中save_process函数的典型用法代码示例。如果您正苦于以下问题:PHP save_process函数的具体用法?PHP save_process怎么用?PHP save_process使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: save_process_main

function save_process_main($prg = '')
{
    global $process;
    if (defined('PROGRAM_TYPE')) {
        $prg = empty($prg) ? $GLOBALS['prg'] : $prg;
        $process[PROGRAM_TYPE][$prg] = 1;
    }
    save_process('main', $process);
}
开发者ID:tanxiniao,项目名称:bce,代码行数:9,代码来源:do_convert.inc.php

示例2: basename

 *
 * $Id: paymentlog.php 9643 2010-04-30 08:59:14Z zhaoxiongfei $
 * English by Valery Votintsev at sources.ru
 */
$curprg = basename(__FILE__);
$table_source = $db_source->tablepre . 'paymentlog';
$table_target = $db_target->tablepre . 'common_credit_log';
$limit = $setting['limit']['paymentlog'] ? $setting['limit']['paymentlog'] : 2500;
$step = getgpc('step');
$step = intval($step);
$total = getgpc('total');
$total = intval($total);
$continue = false;
if (!$step && !$process['truncate_credit_log']) {
    $process['truncate_credit_log'] = 1;
    save_process('main', $process);
    $db_target->query("TRUNCATE {$table_target}");
}
$query = $db_source->query("SELECT * FROM " . $db_source->tablepre . "settings WHERE variable IN ('creditstax', 'creditstrans')");
while ($setting = $db_source->fetch_array($query)) {
    if ($setting['variable'] == 'creditstrans') {
        $creditstrans = explode(',', $setting['value']);
        $ext = $creditstrans[1] ? $creditstrans[1] : $creditstrans[0];
        if (!$ext) {
            $ext = 1;
        }
    }
    if ($setting['variable'] == 'creditstax') {
        $creditstax = $setting['value'];
    }
}
开发者ID:v998,项目名称:discuzx-en,代码行数:31,代码来源:paymentlog.php

示例3: array

<?php

/**
 * DiscuzX Convert
 *
 * $Id: config.php 10469 2010-05-11 09:12:14Z monkey $
 * English by Valery Votintsev at sources.ru
 */
if (submitcheck()) {
    $home = array('usergroup' => getgpc('targetgroup'), 'extcredits' => getgpc('extcredits'), 'forum' => getgpc('forum'));
    save_process('home', $home);
} else {
    $sourcegroup = array();
    $targetoption = '';
    $query = $db_source->query("SELECT gid, grouptitle FROM " . $db_source->table('usergroup') . " WHERE system!='0'");
    while ($group = $db_source->fetch_array($query)) {
        $sourcegroup[$group['gid']] = $group['grouptitle'];
    }
    $query = $db_target->query("SELECT groupid, grouptitle FROM " . $db_target->table('common_usergroup') . " WHERE type!='member'");
    while ($group = $db_target->fetch_array($query)) {
        $targetoption .= "<option value=\"{$group['groupid']}\">{$group['grouptitle']}</option>\n";
    }
    $extcredits = '';
    $sourcecredits = array('credit', 'experience');
    $tsetting = $db_target->fetch_first("SELECT * FROM " . $db_target->table('common_setting') . " WHERE skey='extcredits'");
    $tsetting = @unserialize($tsetting['svalue']);
    if (!is_array($tsetting)) {
        showmessage("message_not_enabled_extcredit");
    } else {
        if (count($tsetting) < 8) {
            for ($i = count($tsetting) + 1; $i < 9; $i++) {
开发者ID:v998,项目名称:discuzx-en,代码行数:31,代码来源:config.php

示例4: popup

    exit;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_POST["ProcessNice"])) {
    save_process();
    exit;
}
if (isset($_POST["SyslogNgPref"])) {
    save_process();
    exit;
}
if (isset($_POST["MysqlNice"])) {
    save_process();
    exit;
}
if (isset($_GET["js"])) {
    echo js_slider();
    exit;
}
if (isset($_GET["main"])) {
    main_switch();
    exit;
}
if (isset($_GET["status"])) {
    main_status();
    exit;
}
if (isset($_GET["MX_REQUESTS"])) {
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:31,代码来源:artica.performances.php

示例5: usersMenus

	include_once('ressources/class.templates.inc');
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.artica.inc');
	include_once('ressources/class.mysql.inc');	
	include_once('ressources/class.ini.inc');
	include_once('ressources/class.backup.inc');
	include_once('ressources/class.os.system.inc');
	
	$users=new usersMenus();
	if(!$users->AsArticaAdministrator){die();}
	
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["ProcessNice"])){save_process();exit;}
	if(isset($_GET["SyslogNgPref"])){save_process();exit;}
	if(isset($_GET["MysqlNice"])){save_process();exit;}
	if(isset($_GET["js"])){echo js_slider();exit;}
	if(isset($_GET["main"])){main_switch();exit;}
	if(isset($_GET["status"])){main_status();exit;}
	if(isset($_GET["MX_REQUESTS"])){save_mimedefang();exit;}
	if(isset($_GET["main_config_mysql"])){echo main_config_mysql();exit;}
	
	if(isset($_GET["DisableWarnNotif"])){save_index_page();exit;}
	if(isset($_GET["cron-js"])){echo cron_js();exit;}
	if(isset($_GET["cron-popup"])){echo cron_popup();exit;}
	if(isset($_GET["cron-start"])){echo cron_start();exit;}
	if(isset($_GET["cron-apc"])){echo cron_apc();exit;}
	if(isset($_GET["cron-logon"])){cron_logon();exit;}
	if(isset($_GET["LANGUAGE_SELECTOR_REMOVE"])){cron_logon_save();exit;}
	
	if(isset($_GET["apc-cached-file-list"])){echo cron_apc_list();exit;}
开发者ID:rsd,项目名称:artica-1.5,代码行数:31,代码来源:artica.performances.php


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