久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      php頭編碼怎么設置

      在PHP中可以通過在PHP文件頭部添加“header("Content-type: text/html; charset=utf-8");”語句來設置編碼。

      php頭編碼怎么設置

      本文操作環(huán)境:windows7系統(tǒng)、PHP7.1版,DELL G3電腦

      php頭編碼怎么設置?

      設置utf編碼的代碼如下:

      header("Content-type: text/html; charset=utf-8");

      注:通常情況以上代碼放在php頁面的首頁

      header() 函數(shù)向客戶端發(fā)送原始的 HTTP 報頭。

      附:

      php頁面為gbk編碼

      header("Content-type: text/html; charset=gb2312");

      php頁面為big5編碼

      header("Content-type: text/html; charset=big5");

      推薦學習:《PHP視頻教程》

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號