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
Ïà¹ØÎĵµ£º
jsÒªÇó£ºÎªÊ¹ÏµÍ³ÄÜÔÚIEºÍFFÏÂÕý³£ÔËÐУ¬²»ÒªÊ¹ÓÃÔÉú̬µÄjavascript£¬½¨ÒéʹÓÃjsµÄ¿â£¨È磺jquery£©
²¢ÇÒÒªÇóÓÃjqueryÖУ¬»ñÈ¡¶ÔÏóµÄÊôÐÔʹÓÃ$obj.attr("attrName"),²»ÒªÊ¹ÓÃobj.attrName,·ÀÖ¹×Ô¶¨ÒåµÄÊôÐÔÔÚFFÖв»ÄÜÕý³£ÔËÐÐ
1¡¢ÎÊÌ⣺<span></span>ÔÚFFÏÂÔË ......
ÒªÊǵ¯³ö´°¿Ú±äµÃÄܱ»Íø³æÃÇϲ»¶£¬ÄÇ¹ã¸æÉ̿϶¨¾Í·¢Á˰ɣ¿£¿ºÇºÇ
¡¡¡¡1.µ¯ÆôÒ»¸öÈ«ÆÁ´°¿Ú
<html>
<body onload="window.open('http://www.sdinf.com','example01','fullscreen');">;
<b>www.sdinf.com</b>
</body>
</html>
¡¡¡¡2.µ¯ÆôÒ»¸ö±»F11»¯ºóµÄ´°¿Ú
<html>
< ......
ѧϰSEOÐèÒªÁ˽âÍøÒ³ÖÆ×÷£¬·ñÔòÍøÕ¾±¾ÉíµÄÓÅ»¯¾ÍÎÞ´ÓÏÂÊÖ¡£±È½ÏÁ÷ÐеÄÍøÒ³ÖÆ×÷¹¤¾ßÊÇMicrosoft¹«Ë¾¿ª·¢µÄ
Dreamweaver£¬Ö§³ÖËù¼û¼´ËùµÃµÄ±à¼·½Ê½£¬ÔÚÕ¾µãµÄ¹ÜÀí·½Ãæ×öµÄÒ²ºÜ³öÉ«£¬²»ÐèÒªÄãÕÆÎÕºÜÉîµÄÍøÒ³ÖÆ×÷¼¼Êõ֪ʶ£¬ÉõÖÁ²»ÐèÒªÄãÁ˽â HTMLµÄ»ù±¾Óï·¨¡£Ëü»¹Ö§³Ö²ãµÄ²Ù×÷£¬²¢ÇÒ¿ÉÒÔ±ÜÃâÉú³ÉÈßÓà´úÂ룬²¢ÇÒÖ§³Ö¶Ô HTMLÔ ......
// <summary>
/// ¹ýÂËhtml´úÂë
/// </summary>
public static string RphtmlStr(string html)
{
&n ......
ʲôÊÇFirebug
´ÓÊÂÁËÊýÄêµÄWeb¿ª·¢¹¤×÷£¬Ô½À´Ô½¾õµÃÏÖÔÚ¶ÔWEB¿ª·¢ÓÐÁ˸ü¸ßµÄÒªÇó¡£ÒªÐ´³öƯÁÁµÄHTML´úÂ룻Ҫ±àд¾«ÖµÄCSSÑùʽ±íչʾÿ¸öÒ³ÃæÄ£¿é£»Òªµ÷ÊÔjavascript¸øÒ³ÃæÔö¼ÓһЩ¸ü»îÆÃµÄÒªËØ£»ÒªÊ¹ÓÃAjax¸øÓû§´øÀ´¸üºÃµÄÌåÑé¡£Ò»¸öÓÅÐãµÄWEB¿ª·¢ÈËÔ±ÐèÒª¹Ë¼°¸ü¶à²ãÃæ£¬²ÅÄܽ»³öÒ»·ÝͬÑùÓÅÐãµÄ×÷Òµ¡£Îª°ïÖú¹ã´óÕý´¦ÓÚW ......