国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

smarty開啟快取亂碼
風(fēng)起時(shí)丶丶想你
風(fēng)起時(shí)丶丶想你 2018-10-10 17:17:10
0
2
1263

smarty開啟快取後第一次刷頁面亂碼,再刷一次就正常了,工程和頁面都是utf8編碼,不知道***問題。

PHP程式碼如下(smarty3.1.16)

<?php

include_once './libs/Smarty.class.php';

#$ smarty = new Smarty();

$smarty->caching =1;

$smarty->cache_lifetime =3 ;

$smarty->assign( "name","萬事如意");

$smarty->display("name.html");


模版

##<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

#<title>Insert title here</title>

</head>

<body>

#? {$name}

#<body>

#? {$name}


</body>

###</html>#############
風(fēng)起時(shí)丶丶想你
風(fēng)起時(shí)丶丶想你

全部回覆(2)
風(fēng)起時(shí)丶丶想你

換了php版本發(fā)現(xiàn),原來是php6自己的原因,具體什麼導(dǎo)致的不清楚,反正是盡量用php5或7別用6

風(fēng)起時(shí)丶丶想你

有沒有大神解釋一下

最新下載
更多>
網(wǎng)站特效
網(wǎng)站源碼
網(wǎng)站素材
前端模板