<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://blog.csdn.net/yuelengxin/category/187916.aspx</link><description>此专栏专门用来收集网上的代码......</description><dc:language>zh-CN</dc:language><lastUpdateTime>Thu, 23 Nov 2006 18:19:00 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>yuelengxin</dc:creator><title>JS应用（资料很全）</title><link>http://blog.csdn.net/yuelengxin/archive/2006/11/23/1408903.aspx</link><pubDate>Thu, 23 Nov 2006 16:47:00 GMT</pubDate><guid>http://blog.csdn.net/yuelengxin/archive/2006/11/23/1408903.aspx</guid><wfw:comment>http://blog.csdn.net/yuelengxin/comments/1408903.aspx</wfw:comment><comments>http://blog.csdn.net/yuelengxin/archive/2006/11/23/1408903.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/yuelengxin/comments/commentRss/1408903.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1408903</trackback:ping><description>关于JS的东西，可以在这里找找看。

    * 事件源对象
      event.srcElement.tagName
      event.srcElement.type
    * 捕获释放
      event.srcElement.setCapture(); 
      event.srcElement.releaseCapture(); 
    * 事件按键
      event.keyCode
      event.shiftKey
      event.altKey
      event.ctrlKey
    * 事件返回值
      event.returnValue
    * 鼠标位置
      event.x
      event.y
    * 窗体活动元素
      document.activeElement
    * 绑定事件
      document.captureEvents(Event.KEYDOWN);
    * 访问窗体元素
      document.all(&lt;img src ="http://blog.csdn.net/yuelengxin/aggbug/1408903.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>yuelengxin</dc:creator><title>支持多种编码的中文字符串截取函数!   AND  函数实现解压功能</title><link>http://blog.csdn.net/yuelengxin/archive/2006/07/28/993546.aspx</link><pubDate>Fri, 28 Jul 2006 15:14:00 GMT</pubDate><guid>http://blog.csdn.net/yuelengxin/archive/2006/07/28/993546.aspx</guid><wfw:comment>http://blog.csdn.net/yuelengxin/comments/993546.aspx</wfw:comment><comments>http://blog.csdn.net/yuelengxin/archive/2006/07/28/993546.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/yuelengxin/comments/commentRss/993546.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=993546</trackback:ping><description>收藏先.....&lt;img src ="http://blog.csdn.net/yuelengxin/aggbug/993546.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>yuelengxin</dc:creator><title>生成压缩文件的类</title><link>http://blog.csdn.net/yuelengxin/archive/2006/04/28/695127.aspx</link><pubDate>Fri, 28 Apr 2006 14:29:00 GMT</pubDate><guid>http://blog.csdn.net/yuelengxin/archive/2006/04/28/695127.aspx</guid><wfw:comment>http://blog.csdn.net/yuelengxin/comments/695127.aspx</wfw:comment><comments>http://blog.csdn.net/yuelengxin/archive/2006/04/28/695127.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/yuelengxin/comments/commentRss/695127.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=695127</trackback:ping><description>生成压缩文件的类

ReadCentralDir($zip,$zip_name);

    @rewind($zip);
    @fseek($zip, $centd['offset']);

   for ($i=0; $iReadCentralFileHeaders($zip);
    $header['index'] = $i;$info['filename'] = $header['filename'];
    $info['stored_filename'] = $header['stored_filename'];
    $info['size'] = $header['size'];$info['compressed_size']=$header['compressed_size'];
    $info['crc'] = strtoupper(dechex( $header['crc'] ));
    $info['mtime'] = $header['mtime']; $info['comment'] = $header['comm&lt;img src ="http://blog.csdn.net/yuelengxin/aggbug/695127.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>yuelengxin</dc:creator><title>一个非常不错的发邮件的类(php)</title><link>http://blog.csdn.net/yuelengxin/archive/2006/04/12/660016.aspx</link><pubDate>Wed, 12 Apr 2006 10:10:00 GMT</pubDate><guid>http://blog.csdn.net/yuelengxin/archive/2006/04/12/660016.aspx</guid><wfw:comment>http://blog.csdn.net/yuelengxin/comments/660016.aspx</wfw:comment><comments>http://blog.csdn.net/yuelengxin/archive/2006/04/12/660016.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/yuelengxin/comments/commentRss/660016.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=660016</trackback:ping><description>##########服务器参数设置################
$smtpserver   =   "";//SMTP服务器
$smtpserverport   =25;//SMTP服务器端口
$smtpusermail   =   "";//SMTP服务器的用户邮箱
$smtpuser   =   "";//SMTP服务器的用户帐号
$smtppass   =   "";//SMTP服务器的用户密码
$mailtype   =   "TXT";//邮件格式（HTML/TXT）,TXT为文本邮件
$mailsubject   =   "just   a   test";//邮件主题
$mailbody         =   "hello"               //邮件内容
##########################################
&lt;img src ="http://blog.csdn.net/yuelengxin/aggbug/660016.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>yuelengxin</dc:creator><title>对文本文件操作很好的类(PHP)</title><link>http://blog.csdn.net/yuelengxin/archive/2006/04/12/659992.aspx</link><pubDate>Wed, 12 Apr 2006 09:54:00 GMT</pubDate><guid>http://blog.csdn.net/yuelengxin/archive/2006/04/12/659992.aspx</guid><wfw:comment>http://blog.csdn.net/yuelengxin/comments/659992.aspx</wfw:comment><comments>http://blog.csdn.net/yuelengxin/archive/2006/04/12/659992.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/yuelengxin/comments/commentRss/659992.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=659992</trackback:ping><description>from  CTB  
 
class  CtbClass  {  
 
           var  $file;          
           var  $index;      
 
       //建立一个文件并写入输入  
           function  null_write($new)  
           {  
                       $f=fopen($this-&gt;file,"w");          
                       flock($f,LOCK_EX);  
                       fputs($f,$new);          
                       fclose($f);    
           }  
           //  添加数据记录到文件末端  
           function  add_write($new)  {            
               &lt;img src ="http://blog.csdn.net/yuelengxin/aggbug/659992.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>yuelengxin</dc:creator><title>在线播放器代码大全</title><link>http://blog.csdn.net/yuelengxin/archive/2006/03/30/644554.aspx</link><pubDate>Thu, 30 Mar 2006 15:10:00 GMT</pubDate><guid>http://blog.csdn.net/yuelengxin/archive/2006/03/30/644554.aspx</guid><wfw:comment>http://blog.csdn.net/yuelengxin/comments/644554.aspx</wfw:comment><comments>http://blog.csdn.net/yuelengxin/archive/2006/03/30/644554.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/yuelengxin/comments/commentRss/644554.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=644554</trackback:ping><description>1.avi格式 


&lt;img src ="http://blog.csdn.net/yuelengxin/aggbug/644554.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>yuelengxin</dc:creator><title>弹出窗口(javascript)</title><link>http://blog.csdn.net/yuelengxin/archive/2006/03/30/644536.aspx</link><pubDate>Thu, 30 Mar 2006 14:52:00 GMT</pubDate><guid>http://blog.csdn.net/yuelengxin/archive/2006/03/30/644536.aspx</guid><wfw:comment>http://blog.csdn.net/yuelengxin/comments/644536.aspx</wfw:comment><comments>http://blog.csdn.net/yuelengxin/archive/2006/03/30/644536.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/yuelengxin/comments/commentRss/644536.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=644536</trackback:ping><description>页面加载时自动弹出窗口
〈body onLoad=”javascript:popUpWindow();”〉

页面关闭时自动弹出窗口
〈body onUnLoad=”javascript:popUpWindow();”〉

通过链接或者按钮触发弹出窗口
〈a href=”#” onClick=” javascript:popUpWindow();”〉
〈input type=”button” name=”弹出窗口” onClick=” javascript:popUpWindow();”〉

&lt;img src ="http://blog.csdn.net/yuelengxin/aggbug/644536.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>yuelengxin</dc:creator><title>PHP函数点评</title><link>http://blog.csdn.net/yuelengxin/archive/2006/03/30/644300.aspx</link><pubDate>Thu, 30 Mar 2006 11:55:00 GMT</pubDate><guid>http://blog.csdn.net/yuelengxin/archive/2006/03/30/644300.aspx</guid><wfw:comment>http://blog.csdn.net/yuelengxin/comments/644300.aspx</wfw:comment><comments>http://blog.csdn.net/yuelengxin/archive/2006/03/30/644300.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/yuelengxin/comments/commentRss/644300.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=644300</trackback:ping><description>作者:axgle

PHP函数使用说明，应用举例，精简点评,希望对您学习php有所帮助。

1.print_r()
打印关于变量的易于理解的信息，若为数组，则显示数组的结构信息.

例如：

1
2 'apple', 'b' =&gt; 'banana', 'c' =&gt; array ('x', 'y', 'z'));
4    print_r ($a);
5?&gt;
6 
7
点评:查看任何数组的结构信息，是程序调试的必备工具。对于任何返回结果是数组的“函数”，只要print_r一下，一切底细一目了然！
&lt;img src ="http://blog.csdn.net/yuelengxin/aggbug/644300.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>yuelengxin</dc:creator><title>转换相对路径，并创建目录</title><link>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642077.aspx</link><pubDate>Tue, 28 Mar 2006 20:40:00 GMT</pubDate><guid>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642077.aspx</guid><wfw:comment>http://blog.csdn.net/yuelengxin/comments/642077.aspx</wfw:comment><comments>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642077.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/yuelengxin/comments/commentRss/642077.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=642077</trackback:ping><description>/*
 * 作用：主用于文件上传后的目录自动生成
 * 时间：2006-3-12
 * 作者：欣然随风
 */&lt;img src ="http://blog.csdn.net/yuelengxin/aggbug/642077.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>yuelengxin</dc:creator><title>分页函数(Smarty + Adodb)</title><link>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642075.aspx</link><pubDate>Tue, 28 Mar 2006 20:38:00 GMT</pubDate><guid>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642075.aspx</guid><wfw:comment>http://blog.csdn.net/yuelengxin/comments/642075.aspx</wfw:comment><comments>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642075.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/yuelengxin/comments/commentRss/642075.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=642075</trackback:ping><description>/*
 * 作用：内容列表分页
 * 时间：2006-2-21
 * 作者：欣然随风
 * 其它：修改于纯粹误会《Google的分页程序》
 *
 * 参数：
 *  $table  表名，必选 
 *  $where  查询条件，可选 
 *  $pageSize 信息数量，可选
 *  $midPage 导航链接数量，可选
 *
 *全局变量：
 *  $conn  数据库操作object
 *  $tpl  模板操作object
 *  $start  返回的LIMIT的开始下标
 */
&lt;img src ="http://blog.csdn.net/yuelengxin/aggbug/642075.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>yuelengxin</dc:creator><title>常用JS代码集（二）</title><link>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642062.aspx</link><pubDate>Tue, 28 Mar 2006 20:26:00 GMT</pubDate><guid>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642062.aspx</guid><wfw:comment>http://blog.csdn.net/yuelengxin/comments/642062.aspx</wfw:comment><comments>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642062.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/yuelengxin/comments/commentRss/642062.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=642062</trackback:ping><description>ENTER键可以让光标移到下一个输入框 ,　只能是中文,只能是英文和数字.屏蔽了输入法,只能输入英文和数字,只能是数字,　只能显示，不能修改的文本框,只能是数字,判断按键,获取键盘的KeyCode,限制网页用键盘,　限制键盘的某个键,找按键的值,只能是IP地址,用#default#savehistory防止后退清空text文本框,TEXTAREA自适应文字行数的多少,上传预览图片,去掉下拉选项的边框,下拉列表打开窗口,TAB的显示,文本框的上/下拉,个复选框，点击之后一组复选框全部都选上,Debug Textarea：在线写 js 脚本的时候，用来即时查错的东西！获取input的非value值，而是显示文本值,select里的option进行分类列表,动态添加,提示限制输入的字符数,判断填写字数的限制

&lt;img src ="http://blog.csdn.net/yuelengxin/aggbug/642062.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>yuelengxin</dc:creator><title>常用表单验证类，有了这个，一般的验证就都齐了。</title><link>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642055.aspx</link><pubDate>Tue, 28 Mar 2006 20:20:00 GMT</pubDate><guid>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642055.aspx</guid><wfw:comment>http://blog.csdn.net/yuelengxin/comments/642055.aspx</wfw:comment><comments>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642055.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/yuelengxin/comments/commentRss/642055.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=642055</trackback:ping><description>/**
 * 页面作用：常用表单验证类
 * 作    者：欣然随风
 * 建立时间：2006-3-6
 * QQ：276624915
 */
&lt;img src ="http://blog.csdn.net/yuelengxin/aggbug/642055.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>yuelengxin</dc:creator><title>单文件上传类</title><link>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642050.aspx</link><pubDate>Tue, 28 Mar 2006 20:17:00 GMT</pubDate><guid>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642050.aspx</guid><wfw:comment>http://blog.csdn.net/yuelengxin/comments/642050.aspx</wfw:comment><comments>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642050.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/yuelengxin/comments/commentRss/642050.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=642050</trackback:ping><description>/**
 * 页面作用：文件上传类，如果存在同名文件则替换
 * 作    者：欣然随风
 * 建立时间：2006-3-6
 * 其它说明：
 *  1、表单中 ，name参数一定要为"up"
 *  2、使用前请先检测是否选择了上传文件：$_FILES['up']['size']!==0?有选择:无选择；
 */
&lt;img src ="http://blog.csdn.net/yuelengxin/aggbug/642050.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>yuelengxin</dc:creator><title>(Adodb+Smarty)无级分类(无递归)+无级JS联动+树状显示+导航输出+批量移动</title><link>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642049.aspx</link><pubDate>Tue, 28 Mar 2006 20:14:00 GMT</pubDate><guid>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642049.aspx</guid><wfw:comment>http://blog.csdn.net/yuelengxin/comments/642049.aspx</wfw:comment><comments>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642049.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/yuelengxin/comments/commentRss/642049.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=642049</trackback:ping><description>/* (Adodb + Smarty 版，本版为最终无错版，以前发布的存在一些BUG，已经使用的朋友见谅！)
 *
 * 程序：无级分类(无递归) + 无级JS联动 + 树状显示 + 导航输出 + 批量移动
 * 作者：欣然随风（QQ：276624915）
 * 时间：2006-3-14
 * 
 * 1、主要功能：
 *    支持无限分类；
 *    支持无限JS联动；
 *    显示类别时可设置从某类别下开始显示，以及设置是否显示其下的子分类，及是否带格式输出；
 *    支持从任何目录的导航输出；
 *    批量移动分类，批量移动文章，改写关联属性；
 *    添加文章内容时，要存放亲缘树序列，目的：当选择某一分类查看时，可设置其子分类的文章是否也显示出来。
 * 
 * 2、程序优点：
 *    不使用递归，直接采用order by排序，出库后PHP计算排序的时间复杂度为0
 *
 * 3、不足之处：
 *     固定了某目录下直接分类(不含关联子分类)个数为90个，如：分类1 -&gt; 分类1子1 -&gt; 分类1子1子1
 * &lt;img src ="http://blog.csdn.net/yuelengxin/aggbug/642049.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>yuelengxin</dc:creator><title>[PHP][opensource]中国身份证号码识别类</title><link>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642038.aspx</link><pubDate>Tue, 28 Mar 2006 20:08:00 GMT</pubDate><guid>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642038.aspx</guid><wfw:comment>http://blog.csdn.net/yuelengxin/comments/642038.aspx</wfw:comment><comments>http://blog.csdn.net/yuelengxin/archive/2006/03/28/642038.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/yuelengxin/comments/commentRss/642038.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=642038</trackback:ping><description>idcard类源代码：
&lt;?php 
  
/** 
* file name: $RCSfile: class.idcard.inc.php,v $ 
* file source: $Source: http://www.liqintao.net/blog,v $ 
* description: 中国身份证号码识别类 
* create time: 2006-3-6 15:54:03 
* @version $Id: class.idcard.inc.php,v 1.2 2006/03/19 15:06:06 Sandy Lee Exp $ 
* @copyright Copyright (c) 2005-2006, Sandy Lee(Leeqintao@gmail.com) 
* @author Sandy Lee 
*/ 
&lt;img src ="http://blog.csdn.net/yuelengxin/aggbug/642038.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>