原创 用php curl模塊來測試網頁有沒有重定向

  //下面是測試用的URL列表 $urls = array(     "http://www.baidu.com",     "http://www.google.com" ); /*  * 測試用的瀏覽器信息  *     */ $br

原创 preg_match and preg_match_all

preg_match int preg_match ( string pattern, string subject [, array matches [, int flags]] ) array matches 是一個數組,matche

原创 我的友情鏈接

51CTO博客開發

原创 解決xampp中mysql的問題

(apache(Unix平臺最流行的WEB服務器平臺)+MySQL(和PHP搭配之最佳組合)+PHP+PERL)是一個功能強大的建站集成軟件包。這個軟件包原來的名字是LAMPP,但是爲了避免誤解,最新的幾個版本就改名爲 XAMPP 了。它可

原创 最近計劃

 7月之前php搞定到熟悉 java搞得了解 算法搞到熟悉   暑假         搞定一個開源項目        java 熟悉各種框架        算法導論開始      

原创 vim IDE

http://blog.csdn.net/wooin/archive/2007/10/31/1858917.aspx   手把手教你把Vim改裝成一個IDE編程環境(圖文) By: 吳垠 Date: 2007-09-07 V

原创 使用數組實現堆棧

  #include <stdio.h> #include <stdlib.h> #define MAX 10  int stack[10]; int top=-1; void push(int number) {     printf("

原创 我的友情鏈接

51CTO博客開發

原创 利用反射api來加載模塊

<?php /*  * Created on 2011-5-16  *  * To change the template for this generated file go to  * Window - Preferences - PH

原创 比較兩份文件不同的算法

// A function to compare two revisions of a file function diff($old_file, $new_file, $type = 'array') {     // Read both

原创 使用數組實現堆棧

  #include <stdio.h> #include <stdlib.h> #define MAX 10  int stack[10]; int top=-1; void push(int number) {     printf("

原创 vim IDE

http://blog.csdn.net/wooin/archive/2007/10/31/1858917.aspx   手把手教你把Vim改裝成一個IDE編程環境(圖文) By: 吳垠 Date: 2007-09-07 V

原创 subversion服務器搭建

安裝的1.7版本和1.42版本均失敗了 安裝的是1.4.6版本成功: 幾個注意的地方: 1:./configuer --with-prefix=***  --with-apr=***** --with-apr-util=**** 其中apr

原创 抓取天氣

<?php set_time_limit(0);  //jiequstr函數定義開始 function jiequstr($mubiaostr,$ksstr,$jsstr) {if($mubiaostr==''){echo '目標字符串爲空

原创 利用數組創建隊列

  #include <stdio.h> #include <stdlib.h> int queue[10]; int front=-1; int rear=-1;  void addqueue(int number) {     if(r