易截截图软件、单文件、免安装、纯绿色、仅160KB

html、asp、php、jsp 禁止缓存的方法

HTML:
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
<META HTTP-EQUIV="expires" CONTENT="0">
PHP:
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");

ASP:
response.expires=0
response.addHeader("pragma","no-cache")
response.addHeader("Cache-Control","no-cache, must-revalidate")

JSP:
response.addHeader("Cache-Control", "no-cache");
response.addHeader("Expires", "Thu, 01 Jan 1970 00:00:01 GMT");


相关文档:

php文件上传

//上传文件
$dir="../upfile/jianli";
set_time_limit(0);
extract($_FILES);
if(!empty($res_clett["name"])){
    $upfile=&$HTTP_POST_FILES['con_pdf'];
    $upfileEx=substr($upfile['name'],-3);
    $tmp_name=date("YmdGhis").'.'.$upfileEx;
 &nb ......

jsp缓存处理

今天总算把
response.setHeader("progma", "no-cache");
            response.setHeader("Cache-Control", "no-cache");
            response.setDateHeader("Expires" ......

HTML转义字符表

转帖,不说话
字符
十进制
转义字符
"
&#34;
&quot;
&
&#38;
&amp;
<
&#60;
&lt;
>
&#62;
&gt;
不断开空格(non-breaking space)
&#160;
&nbsp;
字符
十进制
转义字符
字符
十进制
转义字符
字符
十进制
转义字符
?
&#161;
& ......

HTML基础学习笔记

<html>
 <head>
  <title>            
   基础HTML学习
  </title>      <t/标题/t>
         & ......

fck fckeditor 重写 映射 HTML 无效 失败 解决办法

IIS配置.html的映射问题,其实这个问题可以说是HttpHandlerFactory的在web.config中注册的问题
问题描述:
     一套网站程序使用URL重写,配置了ISAPI映射.html 动作全部,检查文件是否存在 不打勾 如下图
问题: 不对IIS配置.html的映射,IIS站点目录下.html页面都能显示。当配置了.html的映射 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号