<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>飘逸的风</title><link>http://www.webchar.com/blog/</link><description>关注自己的生活</description><generator>RainbowSoft Studio Z-Blog 1.8 Arwen Build 81206</generator><language>zh-CN</language><copyright>Copyright 2007-2009 webchar.com. Some Rights Reserved. 皖ICP备07503365号 </copyright><pubDate>Fri, 12 Mar 2010 13:19:55 +0800</pubDate><item><title>MSSQL 精妙Sql语句</title><author>liuqiangew@163.com (liuqiangew)</author><link>http://www.webchar.com/blog/post/137.html</link><pubDate>Fri, 12 Mar 2010 13:16:41 +0800</pubDate><guid>http://www.webchar.com/blog/post/137.html</guid><description><![CDATA[下列语句部分是Mssql语句，不可以在access中使用。<br/><br/>SQL分类： <br/>DDL—数据定义语言(CREATE，ALTER，DROP，DECLARE) <br/>DML—数据操纵语言(SELECT，DELETE，UPDATE，INSERT) <br/>DCL—数据控制语言(GRANT，REVOKE，COMMIT，ROLLBACK)<br/><br/>首先,简要介绍基础语句：<br/>1、说明：创建数据库<br/>CREATE DATABASE database-name <br/>2、说明：删除数据库<br/>drop database dbname<br/>3、说明：备份sql server<br/>...]]></description><category>程序</category><comments>http://www.webchar.com/blog/post/137.html#comment</comments><wfw:comment>http://www.webchar.com/blog/</wfw:comment><wfw:commentRss>http://www.webchar.com/blog/feed.asp?cmt=137</wfw:commentRss><trackback:ping>http://www.webchar.com/blog/cmd.asp?act=tb&amp;id=137&amp;key=9009540e</trackback:ping></item><item><title>比尔·盖茨语录：机会大并不等于你就会成功</title><author>liuqiangew@163.com (liuqiangew)</author><link>http://www.webchar.com/blog/post/136.html</link><pubDate>Thu, 11 Mar 2010 12:56:07 +0800</pubDate><guid>http://www.webchar.com/blog/post/136.html</guid><description><![CDATA[比尔·盖茨语录<br/><br/>1.机会大，并不等于你就会成功。<br/><br/>2.如果你相信每个生命都是平等的，那么当你发现某些生命被挽救了，而另一些生命被放弃了，你会感到无法接受。<br/><br/>3.从这个复杂的世界中找到解决办法，可以分为四个步骤：确定目标，找到最有效的方法，发现适用于这个方法的新技术，同时最聪明地利用现有的技术，不管它是复杂的药物，还是最简单的蚊帐。<br/><br/>4.除非你能够让人们看到或者感受到行动的影响力，否则你无法让人们激动。<br/><br/>5.网络的神奇之处，不仅仅是它缩短了物理距离，使得天涯若比邻。它还极大地增加了怀有共同想法的人们聚集在一起的机会，我们可以为了解决同一个问题，一起共同工作。<br/>...]]></description><category>分享</category><comments>http://www.webchar.com/blog/post/136.html#comment</comments><wfw:comment>http://www.webchar.com/blog/</wfw:comment><wfw:commentRss>http://www.webchar.com/blog/feed.asp?cmt=136</wfw:commentRss><trackback:ping>http://www.webchar.com/blog/cmd.asp?act=tb&amp;id=136&amp;key=513b7a53</trackback:ping></item><item><title>PHP文本数据库的操作方法</title><author>liuqiangew@163.com (liuqiangew)</author><link>http://www.webchar.com/blog/post/135.html</link><pubDate>Mon, 01 Mar 2010 10:55:58 +0800</pubDate><guid>http://www.webchar.com/blog/post/135.html</guid><description><![CDATA[我用一个留言本程序作为例子，阐述php实现对文本数据库的数据显示、加入、修改、删除、查询五大基本操作的方法。<br/>此文本数据库共有字段10个：客户IP、发言时间、客户名、客户EMAIL、客户主页地址、留言表情图片名、客户QQ、客户形象图片、留言内容、管理员回复内容。<br/><br/>1、加入数据程序段。<br/>$date=date("Y-m-d H:i:s");//取得系统时间<br/>$ip = $HTTP_SERVER_VARS[REMOTE_ADDR]; //取得发言的IP地址<br/>$text=encode($gb_text);//去掉留言内容后面的空格.<br/>...]]></description><category>程序</category><comments>http://www.webchar.com/blog/post/135.html#comment</comments><wfw:comment>http://www.webchar.com/blog/</wfw:comment><wfw:commentRss>http://www.webchar.com/blog/feed.asp?cmt=135</wfw:commentRss><trackback:ping>http://www.webchar.com/blog/cmd.asp?act=tb&amp;id=135&amp;key=674da64e</trackback:ping></item><item><title>PHP实现文件安全下载</title><author>liuqiangew@163.com (liuqiangew)</author><link>http://www.webchar.com/blog/post/134.html</link><pubDate>Mon, 01 Mar 2010 10:54:36 +0800</pubDate><guid>http://www.webchar.com/blog/post/134.html</guid><description><![CDATA[你一定会笑我"下载文件"如此简单都值得说？当然并不是想象那么简单。例如你希望客户要填完一份表格，才可以下载某一文件，你第一个想法一定是用 "Redirect"的方法，先检查表格是否已经填写完毕和完整，然后就将网址指到该文件，这样客户才能下载，但如果你想做一个关于"网上购物"的电子商务网站，考虑安全问题，你不想用户直接复制网址下载该文件，笔者建议你使用PHP直接读取该实际文件然后下载的方法去做。程序如下：<br/><br/>$file_name = "info_check.exe";<br/>$file_dir = "/public/www/download/";<br/>...]]></description><category>程序</category><comments>http://www.webchar.com/blog/post/134.html#comment</comments><wfw:comment>http://www.webchar.com/blog/</wfw:comment><wfw:commentRss>http://www.webchar.com/blog/feed.asp?cmt=134</wfw:commentRss><trackback:ping>http://www.webchar.com/blog/cmd.asp?act=tb&amp;id=134&amp;key=2e2bcd87</trackback:ping></item><item><title>手把手教你ECSHOP去版权与标志（2.7.1版）</title><author>liuqiangew@163.com (liuqiangew)</author><link>http://www.webchar.com/blog/post/133.html</link><pubDate>Wed, 24 Feb 2010 08:30:44 +0800</pubDate><guid>http://www.webchar.com/blog/post/133.html</guid><description><![CDATA[<p>前台部分：</p><p>1:去掉头部TITLE部分的ECSHOP演示站 Powered by ecshop</p><p><img height="22" src="http://www.ch2-design.cn/upload/200912310051127167.jpg" width="220" alt="" /></p><p>前者在后台商店设置 - 商店标题修改</p><p>后者打开includes/lib_main.php</p><p>$page_title = $GLOBALS['_CFG']['shop_title'] . ' - ' . 'Powered by ECShop';</p>...]]></description><category>分享</category><comments>http://www.webchar.com/blog/post/133.html#comment</comments><wfw:comment>http://www.webchar.com/blog/</wfw:comment><wfw:commentRss>http://www.webchar.com/blog/feed.asp?cmt=133</wfw:commentRss><trackback:ping>http://www.webchar.com/blog/cmd.asp?act=tb&amp;id=133&amp;key=5e40cef5</trackback:ping></item><item><title>php把数组写入文件</title><author>liuqiangew@163.com (liuqiangew)</author><link>http://www.webchar.com/blog/post/132.html</link><pubDate>Thu, 04 Feb 2010 17:34:56 +0800</pubDate><guid>http://www.webchar.com/blog/post/132.html</guid><description><![CDATA[php把数组写入文件，通过序列和反序列实现。请看代码$file="./data/file.cache";file_put_contents($file,serialize($array));//写入缓存<br/><br/><?php  <br/>$file="./data/file.cache";  <br/> <br/>$array = array("count" => "3000",  <br/> <br/>               "num"  =>"300");  <br/> <br/>//缓存  <br/> <br/>file_put_contents($file,serialize($array));//写入缓存  <br/>...]]></description><category>程序</category><comments>http://www.webchar.com/blog/post/132.html#comment</comments><wfw:comment>http://www.webchar.com/blog/</wfw:comment><wfw:commentRss>http://www.webchar.com/blog/feed.asp?cmt=132</wfw:commentRss><trackback:ping>http://www.webchar.com/blog/cmd.asp?act=tb&amp;id=132&amp;key=5e1dab5c</trackback:ping></item><item><title>使用PHP如何实现导出Excel表数据</title><author>liuqiangew@163.com (liuqiangew)</author><link>http://www.webchar.com/blog/post/131.html</link><pubDate>Thu, 04 Feb 2010 17:33:52 +0800</pubDate><guid>http://www.webchar.com/blog/post/131.html</guid><description><![CDATA[<?php<br/>/**<br/> * Excel vendor By dx_andy<br/> * 整理自 class-excel-xml.inc.php<br/> * 时间 2008-3-27 11:58<br/> * 文件编码 utf-8<br/> * <br/> *<br/> * 整理记录：<br/> * 原文件中(function addRow) utf8_encode($v) => $v<br/> * 并添加判断字符串是 数字型 还是 字符串型的方法<br/> */<br/><br/>class Excel{<br/><br/>    /**<br/>     * Header of excel document (prepended to the rows)<br/>...]]></description><category>程序</category><comments>http://www.webchar.com/blog/post/131.html#comment</comments><wfw:comment>http://www.webchar.com/blog/</wfw:comment><wfw:commentRss>http://www.webchar.com/blog/feed.asp?cmt=131</wfw:commentRss><trackback:ping>http://www.webchar.com/blog/cmd.asp?act=tb&amp;id=131&amp;key=7bed912e</trackback:ping></item><item><title>php的print,print_r,printf,sprintf,die,echo,var_dump,var_export</title><author>liuqiangew@163.com (liuqiangew)</author><link>http://www.webchar.com/blog/post/130.html</link><pubDate>Wed, 03 Feb 2010 16:46:53 +0800</pubDate><guid>http://www.webchar.com/blog/post/130.html</guid><description><![CDATA[1 echo()<br/><br/>可以同时输出多个字符串,可以多个参数,并不需要圆括号,无返回值。<br/><br/>2 print()<br/><br/>只可以同时输出一个字符串，一个参数,需要圆括号,有返回值,当其执行失败时返flase .    print 的用法和C语言很像，所以会对输出内容里的%做特殊解释。<br/>$a=print('hi');<br/>echo $a;<br/>//----------------------------<br/>hi 1   //1是$a的值。<br/>//-----------------------------<br/><br/>3 die();   // 和exit()区别。<br/>...]]></description><category>程序</category><comments>http://www.webchar.com/blog/post/130.html#comment</comments><wfw:comment>http://www.webchar.com/blog/</wfw:comment><wfw:commentRss>http://www.webchar.com/blog/feed.asp?cmt=130</wfw:commentRss><trackback:ping>http://www.webchar.com/blog/cmd.asp?act=tb&amp;id=130&amp;key=dc417f4f</trackback:ping></item><item><title>最近随笔</title><author>liuqiangew@163.com (liuqiangew)</author><link>http://www.webchar.com/blog/post/129.html</link><pubDate>Tue, 26 Jan 2010 09:25:13 +0800</pubDate><guid>http://www.webchar.com/blog/post/129.html</guid><description><![CDATA[　　不要想的太多，凡事都有得商量，不过成败与否，都要笑对人生。<br/><br/>　　哭一生，笑一生，何不快乐过一生？珍惜对待眼前人，认真去做当前事。想得多不如做的多，说得多不如行动的多。不说则已，说则一定要做到。对待任何人都想对待自己那样，对待自己也要想对待任何人一样，朋友是相互信任的，任何时候都少不了朋友，“有福同享有难同当”，何不用实际行动来验证呢？<br/><br/>　　静下心来，好好想想接下来的路如何去走。现在迷茫过，绝望过，但这并不代表人生就这样终结。现在正属于青春时期，这些时间是思考的最佳时机，千万不能错过。]]></description><category>随笔</category><comments>http://www.webchar.com/blog/post/129.html#comment</comments><wfw:comment>http://www.webchar.com/blog/</wfw:comment><wfw:commentRss>http://www.webchar.com/blog/feed.asp?cmt=129</wfw:commentRss><trackback:ping>http://www.webchar.com/blog/cmd.asp?act=tb&amp;id=129&amp;key=41308979</trackback:ping></item><item><title>一些常用的正则表达式收藏</title><author>liuqiangew@163.com (liuqiangew)</author><link>http://www.webchar.com/blog/post/128.html</link><pubDate>Thu, 14 Jan 2010 11:24:34 +0800</pubDate><guid>http://www.webchar.com/blog/post/128.html</guid><description><![CDATA[正则表达式用于字符串处理，表单验证等场合，实用高效，但用到时总是不太把握，以致往往要上网查一番。我将一些常用的表达式收藏在这里，作备忘之用。本贴随时会更新。<br/><br/>匹配中文字符的正则表达式： [u4e00-u9fa5]<br/><br/>匹配双字节字符(包括汉字在内)：[^x00-xff]<br/><br/>应用：计算字符串的长度（一个双字节字符长度计2，ASCII字符计1）<br/><br/>String.prototype.len=function(){return this.replace([^x00-xff]/g,"aa").length;}<br/>...]]></description><category>分享</category><comments>http://www.webchar.com/blog/post/128.html#comment</comments><wfw:comment>http://www.webchar.com/blog/</wfw:comment><wfw:commentRss>http://www.webchar.com/blog/feed.asp?cmt=128</wfw:commentRss><trackback:ping>http://www.webchar.com/blog/cmd.asp?act=tb&amp;id=128&amp;key=9b117e49</trackback:ping></item></channel></rss>
