diff --git a/src/admin/adtype_main.php b/src/admin/adtype_main.php
index c4ea372f..60c6390a 100644
--- a/src/admin/adtype_main.php
+++ b/src/admin/adtype_main.php
@@ -33,7 +33,7 @@ if ($dopost == "save") {
$query = "INSERT INTO `#@__myadtype` (typename) VALUES ('{$pname_new}');";
$dsql->ExecuteNoneQuery($query);
}
- header("charset={$cfg_soft_lang}");
+ header("Content-Type:text/html; charset={$cfg_soft_lang}");
ShowMsg("成功更新广告分类列表", 'adtype_main.php');
exit;
}
diff --git a/src/admin/cards_make.php b/src/admin/cards_make.php
index ef55b3ed..0d00500e 100644
--- a/src/admin/cards_make.php
+++ b/src/admin/cards_make.php
@@ -24,7 +24,7 @@ elseif ($dopost == 'make') {
$ctid = $cardtype;
$startid++;
$endid = $startid + $mnum;
- header("charset={$cfg_soft_lang}");
+ header("Content-Type:text/html; charset={$cfg_soft_lang}");
for (; $startid < $endid; $startid++) {
$cardid = $snprefix.$startid.'-';
for ($p = 0; $p < $pwdgr; $p++) {
diff --git a/src/admin/cards_type.php b/src/admin/cards_type.php
index 46a41b49..df50818a 100644
--- a/src/admin/cards_type.php
+++ b/src/admin/cards_type.php
@@ -42,7 +42,7 @@ if ($dopost == "save") {
$query = "INSERT INTO `#@__moneycard_type` (num,pname,money) VALUES ('{$num_new}','{$pname_new}','{$money_new}');";
$dsql->ExecuteNoneQuery($query);
}
- header("charset={$cfg_soft_lang}");
+ header("Content-Type:text/html; charset={$cfg_soft_lang}");
echo "";
}
require_once(DEDEADMIN."/templets/cards_type.htm");
diff --git a/src/admin/friendlink_type.php b/src/admin/friendlink_type.php
index b655bcdf..4b02b709 100644
--- a/src/admin/friendlink_type.php
+++ b/src/admin/friendlink_type.php
@@ -34,7 +34,7 @@ if ($dopost == "save") {
$query = "INSERT INTO `#@__flinktype` (typename) VALUES ('{$pname_new}');";
$dsql->ExecuteNoneQuery($query);
}
- header("charset={$cfg_soft_lang}");
+ header("Content-Type:text/html; charset={$cfg_soft_lang}");
echo "";
}
include DedeInclude('templets/friendlink_type.htm');
diff --git a/src/admin/makehtml_freelist_action.php b/src/admin/makehtml_freelist_action.php
index 44ddd856..83e90990 100644
--- a/src/admin/makehtml_freelist_action.php
+++ b/src/admin/makehtml_freelist_action.php
@@ -16,7 +16,7 @@ $ci = " aid >= $startid ";
if (!empty($endid) && $endid >= $startid) {
$ci .= " And aid <= $endid ";
}
-header("charset={$cfg_soft_lang}");
+header("Content-Type:text/html; charset={$cfg_soft_lang}");
$dsql->SetQuery("SELECT aid FROM `#@__freelist` WHERE $ci");
$dsql->Execute();
while ($row = $dsql->GetArray()) {
diff --git a/src/admin/member_type.php b/src/admin/member_type.php
index 30e5af24..bb904e07 100644
--- a/src/admin/member_type.php
+++ b/src/admin/member_type.php
@@ -38,7 +38,7 @@ if ($dopost == "save") {
$query = "INSERT INTO `#@__member_type` (`rank`,pname,money,exptime) VALUES ('{$rank_new}','{$pname_new}','{$money_new}','{$exptime_new}');";
$dsql->ExecuteNoneQuery($query);
}
- header("charset={$cfg_soft_lang}");
+ header("Content-Type:text/html; charset={$cfg_soft_lang}");
echo "";
}
$arcranks = array();
diff --git a/src/system/common.inc.php b/src/system/common.inc.php
index 40a64962..7f64d559 100755
--- a/src/system/common.inc.php
+++ b/src/system/common.inc.php
@@ -226,7 +226,7 @@ if (isset($GLOBALS['TotalResult'])) {
}
if (!isset($cfg_NotPrintHead)) {
if (PHP_SAPI != 'cli') {
- header("Content-Type: text/html; charset={$cfg_soft_lang}");
+ header("Content-Type:text/html; charset={$cfg_soft_lang}");
}
}
//自动加载类库处理