當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。