色尼玛亚洲综合影院,亚洲3atv精品一区二区三区,麻豆freexxxx性91精品,欧美在线91

簡(jiǎn)單的cookie計(jì)數(shù)器實(shí)現(xiàn)源碼

復(fù)制代碼 代碼如下:
<?php  if (!empty ($_COOKIE['example'] ))
             $example = ++$_COOKIE['example'] ;
        else $example = 1 ; 
            setcookie("example",$example,time()+54000);
?>

復(fù)制代碼 代碼如下:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>簡(jiǎn)單的COOKIE計(jì)數(shù)器</title>
<style type="text/css">
<!--
.style1 {
    font-size: 14px;
    font-family: "華文琥珀";
}
.style2 {
    font-size: 25px;
    font-family: "華文行楷";
}
.style3 {
    font-size: 13px;
    font-family: "華文琥珀";
}
-->
</style>
</head>
<body>
<table width="350" height="208" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td background="images/136.JPG">
      <table width="240" height="208" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="30" align="center" class="style2"> </td>
      </tr>
      <tr>
        <td height="25" align="center" class="style2">歡迎光臨</td>
      </tr>
      <tr>
        <td height="30" align="center" valign="top">
          <span class="style1">本頁(yè)已經(jīng)被訪(fǎng)問(wèn):</span>
          <span class="style2"> <?php echo "$example";?>次</span>
        </td>
      </tr>
      <tr>
        <td height="18" align="center" valign="top">
          <span class="style3">簡(jiǎn)單的COOKIE計(jì)數(shù)器</span>
        </td>
      </tr>
      <tr>
        <td height="30" align="center"> </td>
      </tr>
    </table> </td>
  </tr>
</table>
</body>
</html>


 

php技術(shù)簡(jiǎn)單的cookie計(jì)數(shù)器實(shí)現(xiàn)源碼,轉(zhuǎn)載需保留來(lái)源!

鄭重聲明:本文版權(quán)歸原作者所有,轉(zhuǎn)載文章僅為傳播更多信息之目的,如作者信息標(biāo)記有誤,請(qǐng)第一時(shí)間聯(lián)系我們修改或刪除,多謝。

主站蜘蛛池模板: 茂名市| 将乐县| 津南区| 百色市| 黔西县| 英德市| 中宁县| 金华市| 谷城县| 育儿| 平湖市| 双鸭山市| 鹿邑县| 南皮县| 青川县| 柏乡县| 平和县| 宝丰县| 大邑县| 甘肃省| 邛崃市| 尉犁县| 泊头市| 海阳市| 陆丰市| 嘉祥县| 全南县| 舟山市| 宿州市| 鹤壁市| 阳曲县| 沙雅县| 西乡县| 华容县| 广宗县| 佳木斯市| 临澧县| 且末县| 石景山区| 灵宝市| 富平县|