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


PHP dm::setVars方法代码示例

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


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

示例1: dirname

<?php

require_once dirname(__FILE__) . '/includes/system/config.php';
// classes
$dbInfo = new dbInfo();
$dbInfo->setHost('localhost');
$dbInfo->setUser('www-data');
$dbInfo->setPass('W3Wd@ta');
$dbInfo->setName('message');
$dm = new dm(false);
$dm->connectDb($dbInfo);
$dm->setVars('Message From Heaven', 'http://stoddart.message/', '/usr/local/www/data/message/');
$session = $dm->session();
$dm->setPaypalUser('sdk-three_api1.sdk.com');
// test = sdk-three_api1.sdk.com, live = ic3000_api1.q.com
$dm->setPaypalPwd('QFZCWN5HZM8VBG7Q');
// test = QFZCWN5HZM8VBG7Q, live = HM9HWZ6C8MGM5JPR
$dm->setPaypalSignature('A-IzJhZZjhg29XQ2qnhapuwxIDzyAZQ92FRP5dqBzVesOkzbdUONzmOU');
// test = A-IzJhZZjhg29XQ2qnhapuwxIDzyAZQ92FRP5dqBzVesOkzbdUONzmOU, live = Afzwki5kM8uclaP2ELeT59viD7-cAiKF71gyXndwl5alQmTaz-q5geM9
$dm->setPaypalMode('test');
// 'test' or 'live'
开发者ID:jonskinny12,项目名称:message,代码行数:21,代码来源:config.php

示例2: dirname

<?php

require_once dirname(__FILE__) . '/includes/system/config.php';
// classes
$dbInfo = new dbInfo();
$dbInfo->setHost('localhost');
$dbInfo->setUser('www-data');
$dbInfo->setPass('W3Wd@ta');
$dbInfo->setName('');
$dm = new dm(false);
$dm->connectDb($dbInfo);
$dm->setVars('Data Modeler Site', 'http://stoddart.data_modeler/', '/usr/local/www/data/data_modeler/current/');
开发者ID:jonskinny12,项目名称:data_modeler,代码行数:12,代码来源:config.php

示例3: dirname

<?php

require_once dirname(__FILE__) . '/includes/system/config.php';
// classes
$dbInfo = new dbInfo();
$dbInfo->setHost('localhost');
$dbInfo->setUser('www-data');
$dbInfo->setPass('W3Wd@ta');
$dbInfo->setName('jcr_2010');
$dm = new dm(false);
$dm->connectDb($dbInfo);
$dm->setVars('2010 Rankings', 'http://stoddart.comp_rankings/2010/', '/usr/local/www/data/comp_rankings/2010/');
开发者ID:jonskinny12,项目名称:comp_rankings,代码行数:12,代码来源:config.php

示例4: dirname

<?php

require_once dirname(__FILE__) . '/includes/system/config.php';
// classes
$dbInfo = new dbInfo();
$dbInfo->setHost('localhost');
$dbInfo->setUser('www-data');
$dbInfo->setPass('W3Wd@ta');
$dbInfo->setName('dogg');
$dm = new dm(false);
$dm->connectDb($dbInfo);
$dm->setVars('Familie Dogg', 'http://stoddart.dogg/', '/usr/local/www/data/familie_dogg/');
include 'includes/inc.login.php';
$location = end(explode('/', $_SERVER['PHP_SELF']));
开发者ID:jonskinny12,项目名称:familie_dogg,代码行数:14,代码来源:config.php

示例5: dirname

<?php

require_once dirname(__FILE__) . '/includes/system/config.php';
// classes
$dbInfo = new dbInfo();
$dbInfo->setHost('localhost');
$dbInfo->setUser('root');
$dbInfo->setPass('');
$dbInfo->setName('');
$dm = new dm(false);
$dm->connectDb($dbInfo);
$dm->setVars('Data Modeler Site', 'http://vm.data_modeler/', '/home/jon/www/misc/data_modeler/current/');
开发者ID:jonskinny12,项目名称:data_modeler,代码行数:12,代码来源:config.php

示例6: __autoload

<?php

// constants
define("OBJECT", "OBJECT", true);
define("ARRAY_A", "ARRAY_A", true);
define("ARRAY_N", "ARRAY_N", true);
// autoload classes
function __autoload($class_name)
{
    $file = dirname(__FILE__) . '/includes/class.' . $class_name . '.php';
    if (!is_file($file)) {
        $file = dirname(__FILE__) . '/includes/model/class.' . $class_name . '.php';
    }
    if (!is_file($file)) {
        $file = dirname(__FILE__) . '/includes/model/base/class.' . $class_name . '.php';
    }
    require_once $file;
}
// classes
$dbInfo = new dbInfo();
$dbInfo->setHost('localhost');
$dbInfo->setUser('root');
$dbInfo->setPass('');
$dbInfo->setName('');
$dm = new dm(false);
$dm->connectDb($dbInfo);
$dm->setVars('Data Modeler Site', 'http://local.web/dm/', 'c:/Program Files/Web/dm/');
开发者ID:jonskinny12,项目名称:data_modeler,代码行数:27,代码来源:config.php

示例7: dirname

<?php

require_once dirname(__FILE__) . '/includes/system/config.php';
// classes
$dbInfo = new dbInfo();
$dbInfo->setHost('localhost');
$dbInfo->setUser('www-data');
$dbInfo->setPass('W3Wd@ta');
$dbInfo->setName('rankings');
$dm = new dm(false);
$dm->connectDb($dbInfo);
$dm->setVars('Rankings', 'http://rankings.stoddarthome.com/', '/usr/local/www/data/rankings/');
include 'includes/inc.login.php';
开发者ID:jonskinny12,项目名称:rankings,代码行数:13,代码来源:config.php


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