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

分享PHP header函數(shù)使用教程

復(fù)制代碼 代碼如下:
<?php
// 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()

主站蜘蛛池模板: 济源市| 通海县| 彭泽县| 宿州市| 安丘市| 宝兴县| 兰州市| 新野县| 五河县| 天长市| 南汇区| 和林格尔县| 从江县| 巫溪县| 阿城市| 乡城县| 拜泉县| 仁寿县| 海伦市| 龙陵县| 正镶白旗| 三台县| 蒙山县| 宜君县| 库伦旗| 达州市| 会同县| 湘乡市| 天等县| 安达市| 长治县| 扎鲁特旗| 临汾市| 浪卡子县| 贺兰县| 获嘉县| 德格县| 伊金霍洛旗| 江华| 寻乌县| 宜都市|