本文整理汇总了PHP中GetSiteconfig函数的典型用法代码示例。如果您正苦于以下问题:PHP GetSiteconfig函数的具体用法?PHP GetSiteconfig怎么用?PHP GetSiteconfig使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了GetSiteconfig函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: basicsupdate
basicsupdate($emailSMTP, 'emailSMTP');
basicsupdate($emailPasswd, 'emailPasswd');
basicsupdate($emailname, 'emailname');
basicsupdate($emailtitme, 'emailtitme');
basicsupdate($Telephone, 'Telephone');
basicsupdate($pay_dianka_url, 'pay_dianka_url');
basicsupdate($pay_ChinaBank_name, 'pay_ChinaBank_name');
basicsupdate($pay_ChinaBank_key, 'pay_ChinaBank_key');
basicsupdate($SKALIPAYAPI, 'SKALIPAYAPI');
basicsupdate($SKERROR, 'SKERROR');
basicsupdate($shuamoneyg, 'shuamoneyg');
basicsupdate($money_cash, 'money_cash');
basicsupdate($GETFRIENDMONEY, 'GETFRIENDMONEY');
basicsupdate($OAUTHTYPE, 'OAUTHTYPE');
basicsupdate($CAIJITYPE, 'CAIJITYPE');
$GetSiteconfig = GetSiteconfig();
$key_appkey = $GetSiteconfig['appkey'];
$key_secretKey = $GetSiteconfig['secretKey'];
$fcaijitype = "<?php\ndefine('CAIJITYPE','" . $CAIJITYPE . "'); \n\$key_appkey='{$key_appkey}'; \n\$key_secretKey='{$key_secretKey}';\n?>";
file_put_contents('../../include/caijitype.php', $fcaijitype);
include 'fwriteconn.php';
if ($mess == 1) {
$arry['id'] = 111;
$arry['msg'] = "修改成功";
echo json_encode($arry);
exit;
} else {
$arry['id'] = 111;
$arry['msg'] = "修改失败,请检查你的include目录是否有写入权限";
echo json_encode($arry);
exit;
示例2: session_start
<?php
session_start();
error_reporting(0);
include './include/conn.php';
include './include/myfunction.php';
$siteweb = GetSiteconfig();
$do = $_GET['do'];
switch ($do) {
case "checknick":
$nick = str_replace(' ', '', trim($_REQUEST['nick']));
$count = Getuname($nick);
if ($count > 0) {
$arry['id'] = 102;
$arry['msg'] = "用户名已被占用";
} else {
$arry['id'] = 103;
$arry['msg'] = "用户名可用";
}
echo json_encode($arry);
exit;
case "checkemail":
$email = str_replace(' ', '', trim($_REQUEST['email']));
$sql = "select * from user where email='{$email}'";
$result = mysql_query($sql);
$count = mysql_num_rows($result);
if ($count > 0) {
$arry['id'] = 102;
$arry['msg'] = "邮箱已被占用";
} else {
$arry['id'] = 103;
示例3: GetSiteconfig
<?php
require_once 'include/myfunction.php';
$siteWeb = GetSiteconfig();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php
echo $siteWeb['siteName'];
?>
- 支付系统</title>
</head>
<body>
收款人:<?php
echo $siteWeb['Alipay_ID'];
?>
<span style="color: #ff3c00;">←请认准<?php
echo $siteWeb['siteName'];
?>
官方账户,以免财务损失!</span><br>
充值金额:<select style="height:20px;" name="score" id="score" onchange="document.getElementById('payAmount').value=this.value==-1?'':this.value">
<option value="50">制作1份</option>
<option value="100">制作2份</option>
<option value="150">制作3份</option>
<option value="200">制作4份</option>
<option value="250">制作5份</option>
<option value="300">制作6份</option>
<option value="350">制作7份</option>