<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
  <channel>
    <title><![CDATA[拍拍尘土]]></title> 
    <link>http://blog.tao123.com/</link> 
    <description><![CDATA[千里单骑终不悔，来年临寒再探梅。]]></description> 
    <language>zh-cn</language> 
    <copyright><![CDATA[Copyright 2010, 拍拍尘土]]></copyright> 
    <webMaster><![CDATA[katani.yu@hotmail.com (Admin)]]></webMaster> 
    <generator>LBS v2.0.313</generator> 
    <pubDate>Wed, 10 Mar 2010 09:17:09 +0800</pubDate> 
    <ttl>60</ttl>
  
    <item>
      <title><![CDATA[关于PHP无法读取MSSQL数据表(ntext类型字段)]]></title> 
      <link><![CDATA[http://blog.tao123.com/article.asp?id=1356]]></link> 
      <category><![CDATA[PHP]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Tue, 09 Mar 2010 11:11:31 +0800</pubDate> 
      <description><![CDATA[你在使用PHP来连接MSSQL数据库操作表记录的时候，有没有发现有时候读取不到表的记录的情况，比如说ntext类型字段的内容返回为空，其实是因为不支持ntext类型吧，改成text应该就可以了。<br /><br />如果是表里面没有ntext字段，可以用以下代码：<br /><br />如果表里面有ntext军字段，且不好修改回text字段， 可以如下：<br /><br />1.修改 php.ini<br /><br />打开php.ini<br /><br />找到:<br /><br />;mssql.textlimit = 4096 <br /><br />改为<br /><br />mssql.textlimit = 2147483647<br /><br />找到:<br /><br />;mssql.textsize = 4096 <br /><br />改为<br /><br />mssql.textsize = 2147483647<br /><br />2.可以使用修改字段,由于sql server中，ntext和nvarchar字段是用unicode编码存储内容的，因此php通过mssql扩展读取带ntext和nvarchar类型字段的时候会抱错。<br />]]></description>
      <wfw:commentRss><![CDATA[http://blog.tao123.com/feed.asp?q=comment&id=1356]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[2010年,ie6还是稳做浏览器霸主地位]]></title> 
      <link><![CDATA[http://blog.tao123.com/article.asp?id=1355]]></link> 
      <category><![CDATA[拍拍乱拍]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Sat, 06 Mar 2010 22:13:27 +0800</pubDate> 
      <description><![CDATA[当微软和google不想支持ie6的时候,我们发现ie6还是稳做浏览器霸主,占70%,这是因为操作系统依旧以winxp和win2003为主<br />对于普通面向公众的网站来说,界面css调试的重点还是放在 ie6,ie7,ie8 ,对于firefox来说,如果精力不足,可以不做考虑.<br /><br /> MSIE 6.0   57.1%  <br /> MSIE 6.0,360SE   9.9%  <br /> MSIE 7.0   8.9%  <br /> MSIE 8.0   8.6%  <br /> MSIE 7.0,360SE  3.8%  <br /> MSIE 6.0,TencentTraveler 4.0   2.2%  <br /> MSIE 7.0,MAXTHON 2.0 2.1%  <br /> MSIE 6.0,MAXTHON 2.0 2.0%  <br /> MSIE 6.0,Maxthon 0.8%  <br /> MSIE 7.0,TencentTraveler 4.0 0.7%  <br />]]></description>
      <wfw:commentRss><![CDATA[http://blog.tao123.com/feed.asp?q=comment&id=1355]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[mysql在windows下常用命令]]></title> 
      <link><![CDATA[http://blog.tao123.com/article.asp?id=1354]]></link> 
      <category><![CDATA[PHP]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Thu, 04 Mar 2010 15:18:40 +0800</pubDate> 
      <description><![CDATA[window mysql命令<br />1.导出整个数据库<br />mysqldump -u 用户名 -p 数据库名 &gt; 导出的文件名<br />mysqldump -u dbuser -p dbname &gt; dbname.sql<br /><br />2.导出一个表<br />mysqldump -u 用户名 -p 数据库名 表名&gt; 导出的文件名<br />mysqldump -u dbuser -p dbname users&gt; dbname_users.sql<br /><br />3.导出一个数据库结构<br />mysqldump -u dbuser -p -d --add-drop-table dbname &gt;d:\dbname_db.sql<br />-d 没有数据 --add-drop-table 在每个create语句之前增加一个drop table<br /><br />4.导入数据库<br />常用source 命令<br />进入mysql数据库控制台，如<br />mysql -u root -p<br />mysql&gt;use 数据库<br />]]></description>
      <wfw:commentRss><![CDATA[http://blog.tao123.com/feed.asp?q=comment&id=1354]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[配置MYSQL的my.ini，记录数据库事务日志]]></title> 
      <link><![CDATA[http://blog.tao123.com/article.asp?id=1353]]></link> 
      <category><![CDATA[拍拍乱拍]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Thu, 04 Mar 2010 15:12:13 +0800</pubDate> 
      <description><![CDATA[<span style="color:Red">p.s. <br />打开my.ini文件<br />在[mysqld]的下面加上<br />log = c:/mysql_query.log.txt<br />重启mysql，现在就可以调试程序了</span><div class="quote"><div class="quote-title">引用 <u></u></div><div class="quote-content">MYSQL中的my.ini或my.cnf配置说明<br />关键字: mysql my.ini 配置<br /><br />本文中的配置都是从《MySQL5权威指南(3rd)》中摘抄出来的，个人认为对于使用MySQL十分有用。放在此处方便自己随时查阅，也希望对其他朋友有所助益。<br /><br />mysqld程序--目录和文件<br />basedir = path 使用给定目录作为根目录(安装目录)。<br />character-sets-dir = path 给出存放着字符集的目录。<br />datadir = path 从给定目录读取数据库文件。<br />pid-file = filename 为mysqld程序指定一个存放进程ID的文件(仅适用于UNIX/Linux系统); </div></div>]]></description>
      <wfw:commentRss><![CDATA[http://blog.tao123.com/feed.asp?q=comment&id=1353]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[javascript中的XSS跨站攻击]]></title> 
      <link><![CDATA[http://blog.tao123.com/article.asp?id=1352]]></link> 
      <category><![CDATA[JavaScript]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Wed, 03 Mar 2010 14:48:15 +0800</pubDate> 
      <description><![CDATA[随着网络应用的日益广泛，其中的安全问题也越来越不容忽视。作为网络安全中占用重要地位的WEB安全也开始受到人们关注，作为一个好的网络安全维护人员，不仅要有扎实的理论知识，还要有充分的白盒黑盒测试经验，今天我们就从攻击的角度分析下WEB脚本安全中客户端脚本经常出现的攻击方式——跨站攻击（XSS）。  <br />        跨站漏洞出现在各个地方，其危害也越来越大，印象中08年在国内就曾掀起了一阵“跨站热”，多家著名网站程序和邮箱都受到了不同程度的攻击。那么跨站漏洞到底是怎么产生的呢？从攻击者的角度看，是攻击者提交的变量没有经过完整过滤Html字符或者根本就没有经过过滤就放到了数据库中，并且在一些地方又直接从数据库中取出来返回给来访问的用户，从而产生了跨站漏洞。而从程序员角度分析，则是由于编写程序时的一些失误，在代码解析成HTML的过程中被人利用，从而被攻击者构造合理的HTML代码闭合后然后就运行攻]]></description>
      <wfw:commentRss><![CDATA[http://blog.tao123.com/feed.asp?q=comment&id=1352]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[DOCTYPE标准与html兼容问题]]></title> 
      <link><![CDATA[http://blog.tao123.com/article.asp?id=1351]]></link> 
      <category><![CDATA[Web设计]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Tue, 02 Mar 2010 10:51:49 +0800</pubDate> 
      <description><![CDATA[近日发现lbs使用textarea多行文本框的时候，写日志会发生自动滚动的现象，极为恼火，以前的浏览器版本视乎没有这个问题。所以探个究竟，是DOCTYPE 标准惹得祸。<br /><br /><b>原演示代码如下：</b><div class="code">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http&#58;//www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd&quot;&gt;<br />&lt;HTML xmlns=&quot;http&#58;//www.w3.org/1999/xhtml&quot;&gt;<br />&lt;HEAD&gt;<br />&lt;TITLE&gt;发表日志 - 拍拍尘土&lt;/TITLE&gt;<br />&lt;/HEAD&gt;<br />&lt;BODY&gt;<br />&nbsp;&lt;TEXTAREA style=&quot;WIDTH: 600px&quot; id=message  rows=18 cols=64 name=message &gt;&lt;/TEXTAREA&gt; </div>]]></description>
      <wfw:commentRss><![CDATA[http://blog.tao123.com/feed.asp?q=comment&id=1351]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[从中国建造到中国制造]]></title> 
      <link><![CDATA[http://blog.tao123.com/article.asp?id=1350]]></link> 
      <category><![CDATA[拍拍乱拍]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Tue, 02 Mar 2010 10:09:20 +0800</pubDate> 
      <description><![CDATA[当地时间2月27日3时34分，智利发生8.8级地震，震源位于海底59.4公里，地点位于马乌莱地区外海，这是该国50年来遭受最严重的灾难，据第2大城市康塞普西翁100公里。虽然是8.8级的大地震，但是我们看到死亡人数只有700余人，中国人看到这个令人欣慰的数字的同时，是不是更多的是惆怅。<br /><br />从历届大地震发生的情况来看，死亡数字和经济有着密不可分的关系。<br />--------------------------------------------------------------------------------------------------------------------------------------------<br />意大利墨西拿大地震 1908年12月18日5时25分        西西里岛墨西拿市           7.5级 7.5万人  <br />]]></description>
      <wfw:commentRss><![CDATA[http://blog.tao123.com/feed.asp?q=comment&id=1350]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[关于FastCGI下PHP无法显示错误信息的问题的解决办法]]></title> 
      <link><![CDATA[http://blog.tao123.com/article.asp?id=1349]]></link> 
      <category><![CDATA[PHP]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Mon, 01 Mar 2010 16:35:57 +0800</pubDate> 
      <description><![CDATA[在IIS+FastCGI中配置PHP后，如果php源文件中存在错误，则不论是什么错误，FastCGI都会返回内部服务器错误500的信息，这给程序调试带来了麻烦。解决这个问题的办法如下： <br />    打开PHP的配置文件php.ini，并做如下配置修改：<br /><br />   short_open_tag = On<br />   fastcgi.logging = 0 <br />    log_errors = On<br />    error_reporting = E_ALL <br />    error_log = &quot;C:\Windows\Temp\php-errors.log&quot;<br /><br />    需要确保&quot;C:\Windows\Temp&quot;就是系统Temp路径，这样以来如果是PHP组件出现错误，就可以在C:\Windows\Temp\php-errors.log文件中看到错误提示，如果PHP的warning或notice则在浏览器中会看到详细出错信息并且在php-errors.log文件中也可以看到出错信息了。]]></description>
      <wfw:commentRss><![CDATA[http://blog.tao123.com/feed.asp?q=comment&id=1349]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[IIS6配置PHP5+fastcgi，出现FCGI14001错误解决方法]]></title> 
      <link><![CDATA[http://blog.tao123.com/article.asp?id=1348]]></link> 
      <category><![CDATA[PHP]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Mon, 01 Mar 2010 15:36:44 +0800</pubDate> 
      <description><![CDATA[<div class="quote"><div class="quote-title">引用 <u></u></div><div class="quote-content">FastCGI Error<br />The FastCGI Handler was unable to process the request. <br />--------------------------------------------------------------------------------<br /><br />Error Details:<br /><br />Error Number: 14001 (0x800736b1). <br />Error Description: 由于应用程序配置不正确，应用程序未能启动。重新安装应用程序可能会纠正这个问题。 <br />HTTP Error 500 - Server Error.<br />Internet Information Services (IIS)</div></div><b>解决：</b><br /><span style="color:Red">错误关键在于没有安装VC9运行库 即VISUAL C++ 2008</span><br />]]></description>
      <wfw:commentRss><![CDATA[http://blog.tao123.com/feed.asp?q=comment&id=1348]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[IIS下PHP的ISAPI和FastCGI比较]]></title> 
      <link><![CDATA[http://blog.tao123.com/article.asp?id=1347]]></link> 
      <category><![CDATA[PHP]]></category> 
      <author><![CDATA[admin <null@null.com>]]></author> 
      <pubDate>Thu, 25 Feb 2010 14:53:59 +0800</pubDate> 
      <description><![CDATA[p.s.推荐使用FastCGI<br /><br />　　在Windows IIS 6.0下配置PHP，通常有CGI、ISAPI和FastCGI三种配置方式，这三种模式都可以在IIS 6.0下成功运行，下面我就讲一下这三种方式配置的区别和性能上的差异。<br /><br />　　1、CGI（通用网关接口/Common Gateway Interface）一般是可执行程序，例如EXE文件，和WEB服务器各自占据着不同的进程,而且一般一个CGI程序只能处理一个用户请求。这样，当用户请求数量非常多时，会大量占用系统的资源，如内存、CPU时间等，造成效能低下。<br /><br />　　2、ISAPI（Internet Server Application Program Interface）是微软提供的一套面向WEB服务的API接口，它能实现CGI提供的全部功能，并在此基础上进行了扩展，如提供了过滤器应用程序接口。ISAPI应用大多数以DLL动态库的形式]]></description>
      <wfw:commentRss><![CDATA[http://blog.tao123.com/feed.asp?q=comment&id=1347]]></wfw:commentRss>
    </item>
      
  </channel>
</rss>
