<?php
header("Content-type: application/xhtml+xml");
session_start();
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
在 http://www.w3.org/Mobile/ 测试,有如下4条提示信息。请问在不修改配置文件的情况下,怎么才能解决呢?谢了先~~~ "Cache-Control" HTTP header is present and contains value "no-cache", or contains value "max-age=0"
The "Pragma" header contains the value "no-cache"
The "Expires" header contains a date in the past
A cache related header or a meta http-equiv value contains an invalid value
header("Content-type: application/xhtml+xml");
session_start();
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
在 http://www.w3.org/Mobile/ 测试,有如下4条提示信息。请问在不修改配置文件的情况下,怎么才能解决呢?谢了先~~~ "Cache-Control" HTTP header is present and contains value "no-cache", or contains value "max-age=0"
The "Pragma" header contains the value "no-cache"
The "Expires" header contains a date in the past
A cache related header or a meta http-equiv value contains an invalid value
解决方案 »
- session_unset()与session_destroy()的用法
- 求一本PHP入门书籍
- 求DZ首页调用主题分类列表,我已经把代码弄到最精简了,麻烦高手帮忙下
- php中怎样获取传送表单的值?
- 关于正则中的贪婪和非贪婪
- 帝国cms:通过字段处理函数功能,转换为unix时间戳存储。谁能帮忙看下这个错误
- PHP exec调用ffmpeg自动转码视频不执行了
- 下载了phpide-all-in-one-0.1.9-win32,怎么配置服务器并运行PHP程序呀??
- 请高手介绍两本PHP高级运用的书籍!
- 高分求救啊,不够再加贴,急!初学,需要找个小程序交差,但试了老久还是不行,请各位指点下啊!
- 非技术问题:很想知道下,有多少人和我是一样不喜欢用那些框架的
- 据说是新浪乐居的面试题及我的答案以及对笔试题的一些建议
=================================================
说你请求头的Cache-Control格式不对呢,就这些代码?