|
復制代碼 代碼如下:
<?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()
主站蜘蛛池模板:
送老师锦旗写什么最好|
易烊千玺个人资料简介|
越南币图片|
赫伯曼电影免费观看|
维罗尼卡|
变形金刚6免费观看高清完整版|
bb88|
叶凯薇的视频|
心经全文260字|
梦醒长安|
免费看污污的视频|
成年人看的小视频|
动漫推荐深夜|
宇宙刑事卡邦|
强好案电影|
美女污视频网站|
一年级数学一图四式的题|
《爱与野蛮》电影|
第三套广播体操七彩阳光完整版视频|
公民的基本权利和义务教学设计
|
黄网站免费在线看|
异形舞台动漫免费观看|
甲铁城的卡巴内利|
五猖会原文加批注图片|
表妹直播|
川子|
大师兄 电影|
李泽宇|
何时是读书天|
内蒙古电视台雷蒙|
谭凯琪|
douyincom|
内蒙古电视台|
少年的奇幻漂流记|
小池里奈|
浙江卫视今日节目表|
小女巫|
绝路逢生|
神犬奇兵 电视剧|
里番动漫在线观看|
布袋头|