|
復制代碼 代碼如下:
<?php
/*** Function: php header() examples (php)
** Desc: Some examples on how to use the header() function of phpYou find a detailed tutorial at expertsrt.com (English) or at ffm.juNETz.de (German).These is also a good help about caching at web-caching.com.
** Example: see below. <br/><br/><b>Tip:</b> You can use these sites to check your headers: <a href="http://web-sniffer.NET/">web-sniffer.NET</a>, <a >delorie.com</a> or <a >www.forret.com</a>.
** Author: Jonas John
*/
// fix 404 pages:
header('HTTP/1.1 200 OK');
// set 404 header:
header('HTTP/1.1 404 Not Found');
// set Moved Permanently header (good for redrictions)
// use with location header
header('HTTP/1.1 301 Moved Permanently');
// redirect to a new location:
header('Location: http://www.example.org/');
// redrict with delay:
header('Refresh: 10; url=http://www.example.org/');
print 'You will be redirected in 10 seconds';
// you could also use the HTML syntax:// <meta http-equiv="refresh" content="10;http://www.example.org/ />
// override X-Powered-By: php:
header('X-Powered-By: php/4.4.0');
header('X-Powered-By: Brain/0.6b');
// content language (en = English)
header('Content-language: en');
// last modified (good for caching)
$time = time()
主站蜘蛛池模板:
成人h动漫亚洲一区二区
|
久久久久国产一区二区三区
|
999热视频
|
免费一级黄色录像
|
亚洲视频一区二区三区
|
一区二区三区四区国产
|
欧美一区免费
|
三级在线观看
|
在线观看国产视频
|
国产精品高潮呻吟
|
欧美视频三区
|
成人看片在线观看
|
日韩欧美国产精品一区二区三区
|
91五月婷蜜桃综合
|
亚洲码欧美码一区二区三区
|
av免费网址
|
成人免费视频网站在线看
|
三区四区在线观看
|
日本久久精
|
久久国产精品免费
|
黄色在线播放视频
|
久久97精品|
亚洲国产成人一区二区
|
国产一区二区三区免费视频
|
国产精品视频一二三区
|
婷婷在线网站
|
好姑娘高清在线观看电影
|
黄色大片免费播放
|
91视频国产精品
|
羞羞视频免费在线
|
日韩一区二区久久
|
在线色网|
欧美在线视频网
|
99久久中文字幕三级久久日本
|
伊人久久免费
|
亚洲一区二区三区在线免费观看
|
九九久久在线看
|
av特级毛片
|
九色国产
|
精品视频一区二区三区四区
|
九九热精品视频
|