久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      php如何定時(shí)自動(dòng)跳轉(zhuǎn)網(wǎng)頁

      php定時(shí)自動(dòng)跳轉(zhuǎn)網(wǎng)頁的方法:利用header函數(shù)輸入html或js代碼來實(shí)現(xiàn)定時(shí)跳轉(zhuǎn),代碼為【header("refresh:3;url=https://www.php.cn/");】。

      php如何定時(shí)自動(dòng)跳轉(zhuǎn)網(wǎng)頁

      本教程操作環(huán)境:windows7系統(tǒng)、PHP5.6版,DELL G3電腦。

      php定時(shí)自動(dòng)跳轉(zhuǎn)網(wǎng)頁的方法:

      php定時(shí)跳轉(zhuǎn)我們需要利用header函數(shù)輸入html或js代碼來實(shí)現(xiàn)定時(shí)跳轉(zhuǎn),下面我來介紹一個(gè)簡(jiǎn)單的例子

      php代碼如下:

      代碼如下:

      header("refresh:3;url=https://www.php.cn/");

      print('正在加載,請(qǐng)稍等…<br>三秒后自動(dòng)跳轉(zhuǎn)到PHP中文網(wǎng)~~~');

      輸出的html代碼就是

      代碼如下:

      <meta http-equiv="refresh" content="3; url=https://www.php.cn/">

      一樣的效果。

      相關(guān)視頻推薦:PHP視頻教程

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