久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放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 header怎么實(shí)現(xiàn)定時(shí)跳轉(zhuǎn)

      php實(shí)現(xiàn)定時(shí)跳轉(zhuǎn)的方法:首先創(chuàng)建一個(gè)PHP文件;然后使用“header('Refresh:時(shí)間數(shù)值,Url=url頁(yè)面地址');”代碼即可,例“header('Refresh:3,Url=hello.php');”表示3秒后跳轉(zhuǎn)頁(yè)面。

      php header怎么實(shí)現(xiàn)定時(shí)跳轉(zhuǎn)

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

      php header定時(shí)跳轉(zhuǎn)

      header('Refresh:time,Url=url頁(yè)面地址');

      例:

      header('Refresh:3,Url=http://www.php.cn/');   //3s后跳轉(zhuǎn) echo '3s 后跳轉(zhuǎn)'; //由于只是普通頁(yè)面展示,提示的樣式容易定制 die;

      php header立即跳轉(zhuǎn)頁(yè)面

      header('Location:url頁(yè)面地址');

      【推薦學(xué)習(xí):《PHP視頻教程》】

      注意:

      1、location和“:”號(hào)間不能有空格,否則會(huì)出錯(cuò)。

      2、在用header前不能有任何的輸出。

      3、header后的PHP代碼還會(huì)被執(zhí)行。

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