• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP step3函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: convert

function convert()
{
    if (Convert::isConverted('wiki')) {
        return dgettext('wiki', 'Wiki pages have already been converted.');
    }
    if (!defined('OLD_WIKI_IMAGES')) {
        return dgettext('wiki', 'OLD_WIKI_IMAGES in Wiki conversion script needs to be set BEFORE continuing.');
    }
    $mod_list = PHPWS_Core::installModList();
    if (!in_array('wiki', $mod_list)) {
        return dgettext('wiki', 'Wiki module is not installed.');
    }
    if (!isset($_SESSION['wiki_convert_step'])) {
        $_SESSION['wiki_convert_step'] = 1;
    }
    switch ($_SESSION['wiki_convert_step']) {
        case 1:
            return step1();
            break;
        case 2:
            return step2();
            break;
        case 3:
            return step3();
            break;
    }
}
开发者ID:Jopperi,项目名称:wiki,代码行数:27,代码来源:convert.php


示例2: callstep

function callstep($step, $data = array())
{
    switch ($step) {
        case 5:
            return step5($data);
        case 4:
            return step4($data);
        case 3:
            return step3($data);
        case 2:
            return step2($data);
        default:
            return step1($data);
    }
}
开发者ID:albertlast,项目名称:ticenter_tic,代码行数:15,代码来源:steps.php


示例3: step

function step($step)
{
    switch ($step) {
        case 1:
            step1();
            break;
        case 2:
            step2();
            break;
        case 3:
            step3();
            break;
        default:
            noStep();
    }
}
开发者ID:Zyr93,项目名称:DiamondMVC,代码行数:16,代码来源:index.php


示例4: popup

    exit;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["step1"])) {
    step1();
    exit;
}
if (isset($_GET["step2"])) {
    step2();
    exit;
}
if (isset($_GET["step3"])) {
    step3();
    exit;
}
js();
function js()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $page = CurrentPageName();
    $title = $tpl->_ENGINE_parse_body("{build_support_package}");
    $html = "RTMMail('550','{$page}?popup=yes','{$title}');";
    echo $html;
}
function popup()
{
    $page = CurrentPageName();
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:31,代码来源:squid.support.package.php


示例5: switch

require './include/function.php';
if (!in_array($_GET['step'], array(1, 2, 3, 4, 5))) {
    $_GET['step'] = 0;
}
switch ($_GET['step']) {
    case 1:
        require './include/var.php';
        env_check($env_items);
        dirfile_check($dirfile_items);
        function_check($func_items);
        break;
    case 3:
        $install_error = '';
        $install_recover = '';
        $demo_data = file_exists('./data/utf8_add.sql') ? true : false;
        step3($install_error, $install_recover);
        break;
    case 4:
        step4();
        break;
    case 5:
        $sitepath = strtolower(substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['PHP_SELF'], '/')));
        $sitepath = str_replace('/shop/install', "", $sitepath);
        $auto_site_url = strtolower('http://' . $_SERVER['HTTP_HOST'] . $sitepath);
        break;
    default:
        break;
}
function step3(&$install_error, &$install_recover)
{
    global $html_title, $html_header, $html_footer;
开发者ID:ff00x0,项目名称:shopnc,代码行数:31,代码来源:index.php


示例6: step1

     $_SESSION["Test_session_GLPI"] = 1;
     step1($_POST["update"]);
     break;
 case "Etape_1":
     // check ok, go import mysql settings.
     checkConfigFile();
     // check system ok, we can use specific parameters for debug
     Toolbox::setDebugMode(Session::DEBUG_MODE, 0, 0, 1);
     header_html(sprintf(__('Step %d'), 1));
     step2($_POST["update"]);
     break;
 case "Etape_2":
     // mysql settings ok, go test mysql settings and select database.
     checkConfigFile();
     header_html(sprintf(__('Step %d'), 2));
     step3($_POST["db_host"], $_POST["db_user"], $_POST["db_pass"], $_POST["update"]);
     break;
 case "Etape_3":
     // Create and fill database
     checkConfigFile();
     header_html(sprintf(__('Step %d'), 3));
     if (empty($_POST["databasename"])) {
         $_POST["databasename"] = "";
     }
     if (empty($_POST["newdatabasename"])) {
         $_POST["newdatabasename"] = "";
     }
     step4($_POST["databasename"], $_POST["newdatabasename"]);
     break;
 case "Etape_4":
     // finish installation
开发者ID:paisdelconocimiento,项目名称:glpi-smartcities,代码行数:31,代码来源:install.php


示例7: step6

 function step6()
 {
     $session_check = $GLOBALS['session']->sission_cart();
     if (empty($session_check)) {
         return $this->step2();
     }
     if (empty($_POST['mailaddress1'])) {
         return step3('post_error');
     }
     if (empty($_POST['payment'])) {
         $_POST['payment'] = '1';
     }
     $payment = $GLOBALS['fileread']->DBcart_read();
     $commission = $GLOBALS['fileread']->DBcommission_read();
     require dirname(__FILE__) . '/' . $GLOBALS['cart_theme_type'] . '/cart-step6.php';
 }
开发者ID:kanian55,项目名称:ibcmart,代码行数:16,代码来源:cart.php


示例8: stem

/**
 * Stems a word. Simple huh?
 *
 * @param  string $word Word to stem
 * @return string       Stemmed word
 */
function stem($word)
{
    if (strlen($word) <= 2) {
        return $word;
    }
    $word = step1ab($word);
    $word = step1c($word);
    $word = step2($word);
    $word = step3($word);
    $word = step4($word);
    $word = step5($word);
    return $word;
}
开发者ID:BGCX067,项目名称:falcon-sphider-svn-to-git,代码行数:19,代码来源:commonfuncs.php


示例9: setcookie

$template->set_template_file(VIVVO_FS_ROOT . 'installer/templates/frame.xml');
$installer_lang = $sm->get_lang();
if (isset($_POST['installer_lang'])) {
    setcookie('installer_lang', $_POST['installer_lang']);
    $_COOKIE['installer_lang'] = $_POST['installer_lang'];
}
if (isset($_COOKIE['installer_lang'])) {
    $installer_lang->load_lang($_COOKIE['installer_lang'], 'installer/lang/', 'installer');
} else {
    $installer_lang->load_lang($_COOKIE['installer_lang'] = 'vietnamese', 'installer/lang/', 'installer');
}
define('VIVVO_INSTALLER_LANG', $_COOKIE['installer_lang']);
$um = $sm->get_url_manager();
$lang = $sm->get_lang();
if ($um->get_param('step') == 2) {
    step2($template, $dm, $lang);
} elseif ($um->get_param('step') == 3) {
    step3($template, $dm, $lang);
} elseif ($um->get_param('step') == 4) {
    step4($template, $dm, $lang);
} elseif ($um->get_param('step') == 5) {
    step5($template, $dm, $lang);
} elseif ($um->get_param('step') == 6) {
    step6($template, $dm, $lang);
    vivvo_cache::get_instance()->delete_all();
} else {
    step1($template, $dm, $lang);
}
$template->assign('DUMP_MESSAGES', $dm->_dump_pool);
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">' . "\n";
echo $sm->get_output();
开发者ID:ahanjir07,项目名称:vivvo-dev,代码行数:31,代码来源:index_5.php


示例10: step2

function step2()
{
    $sock = new sockets();
    $WizardUFDB = unserialize(base64_decode($sock->GET_INFO("WizardUFDB")));
    if ($WizardUFDB["SOURCE_TYPE"] == "ALL") {
        step3();
        exit;
    }
    if ($WizardUFDB["SOURCE_TYPE"] == "IPADDR") {
        step2_IPADDR();
        exit;
    }
    if ($WizardUFDB["SOURCE_TYPE"] == "AD") {
        step2_AD();
        exit;
    }
    echo "????";
}
开发者ID:articatech,项目名称:artica,代码行数:18,代码来源:dansguardian2.wizard.rule.php


示例11: usersMenus

	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.squid.inc');
	
	
$usersmenus=new usersMenus();
if(!$usersmenus->AsSquidAdministrator){
	$tpl=new templates();
	$alert=$tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}');
	echo "alert('$alert');";
	die();	
}
if(isset($_GET["step0"])){step0();exit;}
if(isset($_GET["step1"])){step1();exit;}
if(isset($_GET["step2"])){step2();exit;}
if(isset($_GET["step3"])){step3();exit;}
if(isset($_GET["step4"])){step4();exit;}

if(isset($_POST["DOMAIN"])){Save();exit;}
if(isset($_POST["LOCALNET"])){Save();exit;}
if(isset($_POST["PROXY"])){Save();exit;}
if(isset($_POST["agree"])){agree();exit;}


start_js();



function start_js(){
	header("content-type: application/x-javascript");
	$tpl=new templates();
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:31,代码来源:squid.autocofiguration.wizard.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP step4函数代码示例发布时间:2022-05-23
下一篇:
PHP step2函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap