<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
  <channel>
    <title><![CDATA[同城Blog]]></title> 
    <link>http://blog.ly539.net/</link> 
    <description><![CDATA[好好规划自己的路,不要跟着感觉走!]]></description> 
    <language>en</language> 
    <copyright><![CDATA[Copyright 2009, 同城Blog]]></copyright> 
    <webMaster><![CDATA[6675222@gmail.com (XuQinFeng)]]></webMaster> 
    <generator>LBS v2.0.313</generator> 
    <pubDate>Wed, 07 Jan 2009 17:36:17 +0800</pubDate> 
    <ttl>60</ttl>
  
    <item>
      <title><![CDATA[C#动态修改 Header 属性添加 Meta 标签]]></title> 
      <link><![CDATA[http://blog.ly539.net/article.asp?id=238]]></link> 
      <category><![CDATA[.Net]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Tue, 23 Dec 2008 09:38:29 +0800</pubDate> 
      <description><![CDATA[page_load事件：<br />//Render: &lt;title&gt;淄博市2007年市属事业单位公开招聘工作人员公告 - 淄博人事信息网&lt;/title&gt;<br />this.Title = “this title”;<br />// Render: &lt;meta name=&quot;keywords&quot; content=&quot;Some words listed here&quot; /&gt;<br />HtmlMeta meta = new HtmlMeta();<br />meta.Name = &quot;keywords&quot;;<br />meta.Content = dt.Rows[0][2].ToString();<br />this.Header.Controls.Add(meta);<br /><br />// Render: &lt;meta name=&quot;robots&quot; content=&quot;noindex&quot; /&gt;<br />meta = new HtmlMeta();<br />meta.Name = &quot;Description&quot;;<br />meta.Content = dt.Rows[0][2].ToString();<br />]]></description>
      <wfw:commentRss><![CDATA[http://blog.ly539.net/feed.asp?q=comment&id=238]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[frameset框架页js调用]]></title> 
      <link><![CDATA[http://blog.ly539.net/article.asp?id=237]]></link> 
      <category><![CDATA[实用脚本]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Thu, 04 Dec 2008 21:31:32 +0800</pubDate> 
      <description><![CDATA[框架也内，子页JS调用母页面的JS。<br /><br />母页面default.aspx;子页面b.aspx,c.aspx。<br /><br /> <br /><br />&lt;!-- default.aspx--&gt;<br />&lt;html xmlns=&quot;<a href="http://www.w3.org/1999/xhtml" title="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>&quot; &gt;<br />&lt;head runat=&quot;server&quot;&gt;<br />    &lt;title&gt;无标题页&lt;/title&gt;<br />    &lt;script type=&quot;text/javascript&quot;&gt;<br />    function parentshow()<br />    {<br />        alert(&quot;parent&quot;);<br />    }<br />    &lt;/script&gt;<br />&lt;/head&gt;<br />&lt;frameset border=&quot;0&quot; framespacing=&quot;0&quot; frameborder=&quot;0&quot; rows=&quot;124,*&quot; cols=&quot;*&quot;&gt;<br />&lt;frame name=&quot;b&quot; src=&quot;b.aspx&quot;&gt;<br />]]></description>
      <wfw:commentRss><![CDATA[http://blog.ly539.net/feed.asp?q=comment&id=237]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[弹出层，原页面透明]]></title> 
      <link><![CDATA[http://blog.ly539.net/article.asp?id=236]]></link> 
      <category><![CDATA[实用脚本]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Tue, 21 Oct 2008 14:15:19 +0800</pubDate> 
      <description><![CDATA[<script type="text/javascript">window.attachEvent("onload",function (){AutoSizeDIV("code_90864")})</script><div><div class="copycode"><input class="ipt" type=button value=Run onclick=runCode(document.all.code_90864)> <input class="ipt" type=button value=COPY onclick=CopyText(document.all.code_90864)> <input class="ipt" type=button value=Save onclick=saveCode(document.all.code_90864)></div><div class="code"  id="code_90864" style="overflow-y:auto;overflow-x:hidden;height:150px;">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" title="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>&quot;&gt;<br />&lt;html xmlns=&quot;<a href="http://www.w3.org/1999/xhtml" title="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>&quot;&gt;<br />&lt;head&gt;<br />&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=gb2312&quot; /&gt;<br />&lt;title&gt;无标题文档&lt;/title&gt;<br />&lt;style&gt;<br />body{margin:0;padding:0;}<br />#topFill{display:none;text-align:center;position:absolute;z-index = 999;filter:alpha(opacity=5</div></div>]]></description>
      <wfw:commentRss><![CDATA[http://blog.ly539.net/feed.asp?q=comment&id=236]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[身份证中取生日性别(不验证身份证是否正确)]]></title> 
      <link><![CDATA[http://blog.ly539.net/article.asp?id=235]]></link> 
      <category><![CDATA[实用脚本]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Fri, 10 Oct 2008 10:56:16 +0800</pubDate> 
      <description><![CDATA[<script type="text/javascript">window.attachEvent("onload",function (){AutoSizeDIV("code_44879")})</script><div><div class="copycode"><input class="ipt" type=button value=Run onclick=runCode(document.all.code_44879)> <input class="ipt" type=button value=COPY onclick=CopyText(document.all.code_44879)> <input class="ipt" type=button value=Save onclick=saveCode(document.all.code_44879)></div><div class="code"  id="code_44879" style="overflow-y:auto;overflow-x:hidden;height:150px;">&lt;script&gt;<br />function GetSFZ(sfz){<br />&nbsp;&nbsp;if(sfz.length!=18 &amp;&amp; sfz.length!=15){<br />&nbsp;&nbsp;&nbsp;&nbsp;alert(&quot;身份证由15位或18位组成，你填写的身份证号码不误！&quot;)<br />&nbsp;&nbsp;}else{<br />&nbsp;&nbsp;&nbsp;&nbsp;if(sfz.length==18){<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bir=sfz.substring(6,14);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bir=bir.substring(0,4)+&quot;-&quot;+bir.substring(4,6)+&quot;-&quot;+bir.substring(6,8)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById(&quot;birthday&quot;).value=bir;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(sfz.substring(16,17)%2==1)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById(&quot;xb&quot;).value=&quot;男&quot;;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.getElementById(&quot;xb&quot;).value=&quot;女&quot;;</div></div>]]></description>
      <wfw:commentRss><![CDATA[http://blog.ly539.net/feed.asp?q=comment&id=235]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[结婚为爱还是为房？ 学学&quot;快乐房奴&quot;理财经]]></title> 
      <link><![CDATA[http://blog.ly539.net/article.asp?id=234]]></link> 
      <category><![CDATA[今日社会]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Fri, 10 Oct 2008 10:25:44 +0800</pubDate> 
      <description><![CDATA[　　曾经有一部感人的电视剧《为爱结婚》，剧中的男女主人公虽然没有很多的钱，但是他们结婚唯一的目的就是爱情！在经历许多坎坷之后，他们依旧坚定爱情的信念……然而当今社会还有多少人敢坦然地说自己是为爱结婚而不是为房、车而结婚呢？<br /><br />　　杨晓蓉打开网页，&quot;房奴&quot;这两个令人恐惧的大字映入眼帘。<br /><br />　　此时她百感交集，甚至有些心燥。她在网上继续搜索，当她看见&quot;房奴小说&quot;的时候，差点笑出声来，没想到一本叫《中国式房奴》的小说竟如此畅销！<br /><br />　　她又看了一个叫&quot;飞蛾扑火&quot;的网友写的《买房是美丽的错误》：&quot;我承受着&#39;一天不工作，就会被世界抛弃&#39;的精神重压，不敢娱乐不敢生病，除了买书以外不敢高消费。个中酸辛不足为外人道也，至此我终于发现，我不是风光八面的房主，而是货真价实的&#39;房奴&#39;。&quot;杨晓蓉瞪大了眼睛，心里疑惑着，真的是这样吗？她心的在颤抖，因为她还没有做好当房奴的心里准备。<br /><br />　　几个月前，她认识了她生命中]]></description>
      <wfw:commentRss><![CDATA[http://blog.ly539.net/feed.asp?q=comment&id=234]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[雷驰新闻发布系统(任何版本)漏洞利用]]></title> 
      <link><![CDATA[http://blog.ly539.net/article.asp?id=233]]></link> 
      <category><![CDATA[ASP相关]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Fri, 22 Aug 2008 09:15:28 +0800</pubDate> 
      <description><![CDATA[版权归漏洞发现者focn所有，转载请保持文章完整，并注明出处！<br />本文章只做学习研究用，任何人用于其他非法用途本人不承担任何责任！<br /><br />作者：黑萝卜<br />系统： 雷驰新闻发布管理系统<br />版本： 当前任何版本<br />漏洞描述：1 在admin文件夹下的uploadPic.inc.asp中，没有对访问权限进行限制，任意用户都可<br />以 访问到此文件。任意用户都可以使用此文件上传文件到服务器<br />2 uploadPic.inc.asp中虽然对上传文件的后缀名进行了限制但是可以绕过。请看代码！<br /><br />if file.FileSize&gt;0 then &#39;&#39;如果 FileSize &gt; 0 说明有文件数据 <br />&#39;生成图片名字<br />if actionType= &quot;mod&quot; then<br />remFileName = Right(picName,len(picName)-InstrRev(picName,&quot;/&quot;))<br />]]></description>
      <wfw:commentRss><![CDATA[http://blog.ly539.net/feed.asp?q=comment&id=233]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[查询不重复记录]]></title> 
      <link><![CDATA[http://blog.ly539.net/article.asp?id=232]]></link> 
      <category><![CDATA[ASP相关]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Wed, 20 Aug 2008 11:15:11 +0800</pubDate> 
      <description><![CDATA[select * <br />from 表<br />Where 字段=条件 and ID in (select max(ID) from 表 group by 存在重复的字段) <br />order by ID Desc]]></description>
      <wfw:commentRss><![CDATA[http://blog.ly539.net/feed.asp?q=comment&id=232]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[不足两位的日期前自动加0]]></title> 
      <link><![CDATA[http://blog.ly539.net/article.asp?id=231]]></link> 
      <category><![CDATA[ASP相关]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Tue, 19 Aug 2008 11:23:18 +0800</pubDate> 
      <description><![CDATA[不足两位的日期前能不能通过数据库或者ASP程序实现自动加零，比如2008-5-1，要成2008-05-01，主要是为了日期能够对齐。<br /><br />方法：year(Date()) &amp; right(&quot;0&quot;&amp;month(Date()),2) &amp; right(&quot;0&quot;&amp;day(Date()),2)]]></description>
      <wfw:commentRss><![CDATA[http://blog.ly539.net/feed.asp?q=comment&id=231]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[err.number &lt;&gt; 0 then]]></title> 
      <link><![CDATA[http://blog.ly539.net/article.asp?id=230]]></link> 
      <category><![CDATA[ASP相关]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Tue, 19 Aug 2008 11:01:35 +0800</pubDate> 
      <description><![CDATA[&lt;%   <br />        if   err.number &lt;&gt; 0 then   <br />              response.write &quot;出错:&quot; <br />        else     <br />              response.write &quot;正确:&quot; <br />        end   if   <br />  %&gt;]]></description>
      <wfw:commentRss><![CDATA[http://blog.ly539.net/feed.asp?q=comment&id=230]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[不太地道的教练]]></title> 
      <link><![CDATA[http://blog.ly539.net/article.asp?id=229]]></link> 
      <category><![CDATA[今日社会]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Mon, 11 Aug 2008 18:15:15 +0800</pubDate> 
      <description><![CDATA[陈艳青获金后记者上前采访，在此期间是禁止外人与其交流，其教练曾多次上前要与其交谈，被管理人员拦了，而后强冲上前与陈耳语后，陈立即离开，采访被迫终止!工作人员无奈的摊开双手。]]></description>
      <wfw:commentRss><![CDATA[http://blog.ly539.net/feed.asp?q=comment&id=229]]></wfw:commentRss>
    </item>
      
  </channel>
</rss>
