- Jul 23 Sat 2011 14:39
-
[MW] ROBBING公式徹底研究
- Jul 20 Wed 2011 14:39
-
[PHP][轉] WARNING: array_slice() expects parameter 1 to be array
轉自 http://wordpress.org/support/topic/plugin-yoast-breadcrumbs-warning-array_slice
PHP出現 WARNING: array_slice() expects parameter 1 to be array 的問題
解法是在array_slice()之前先去跑is_array()的判斷,把不是array的情況過濾掉
- Jul 18 Mon 2011 15:42
-
滅火器tmp
http://www.shiu-cheng.com/
家裡應該要買隻放著了
要買海龍才不會傷害家具
http://www.shiu-cheng.com/index.php?cPath=7_77
家裡應該要買隻放著了
要買海龍才不會傷害家具
http://www.shiu-cheng.com/index.php?cPath=7_77
- Jul 12 Tue 2011 23:23
-
[MW] FIGHTING公式徹底研究
Fighting Formula:
Attack Power = Attack Skill + Scales ratio as below x Mafia Attack Strength + Boost
Defense Power = Defense Skill + Scales ratio as below x Mafia Defense Strength + Boost
Conversion at Combined Skills
Profile Skill Points..........Inventory Strength..........Equivalent
(attack+defense)..........Difference....................Skill Point
2,000...........................35.............................1
4,000...........................25..............................1
10,000..........................10..............................1
20,000............................5..............................1
40,000............................3..............................1
50,000............................1..............................1
60,000............................1..............................2
70,000............................1..............................3
80,000............................1..............................4
90,000............................1..............................5
* profile skill points = combined Attack and Defend profile skill points.
Credits for the data above goes to a dear friend, who prefers to keep name private.
about 2 months ago
Attack Power = Attack Skill + Scales ratio as below x Mafia Attack Strength + Boost
Defense Power = Defense Skill + Scales ratio as below x Mafia Defense Strength + Boost
Conversion at Combined Skills
Profile Skill Points..........Inventory Strength..........Equivalent
(attack+defense)..........Difference....................Skill Point
2,000...........................35.............................1
4,000...........................25..............................1
10,000..........................10..............................1
20,000............................5..............................1
40,000............................3..............................1
50,000............................1..............................1
60,000............................1..............................2
70,000............................1..............................3
80,000............................1..............................4
90,000............................1..............................5
* profile skill points = combined Attack and Defend profile skill points.
Credits for the data above goes to a dear friend, who prefers to keep name private.
about 2 months ago
- Jul 11 Mon 2011 10:33
-
[MW] Skill Point Reallocation徹底研究
最近ZYNGA不定時放出Skill Point Reallocation,讓你可以花RP把已配置的skill point重新分配。
一次會有50RP換50SP和10RP換10SP,各只能換一次,共60RP換60SP。
ZYNGA這個活動是否真得物超所值,讓我們來研究研究!
一次會有50RP換50SP和10RP換10SP,各只能換一次,共60RP換60SP。
ZYNGA這個活動是否真得物超所值,讓我們來研究研究!
- Jul 08 Fri 2011 13:28
-
[PHP] JOLLEN PHP專欄
http://www.jollen.org/php/
- Jul 06 Wed 2011 01:32
-
健身AT HOME!
http://www.youtube.com/watch?v=jWc8gHlAkoM
中文
http://u.youku.com/user_show/id_UNjM5NTg5NDQ=.html
中文
http://u.youku.com/user_show/id_UNjM5NTg5NDQ=.html
- Jun 28 Tue 2011 11:40
-
[PHP][轉] PHP htmlspecialchars() vs strip_tags() 使用注意事項
PHP 裡有 htmlspecialchars() 及 strip_tags(),
這兩個函式用途很像,都是在作 HTML 輸出消毒,
但這兩者還是有一點點不同,可以這麼來理解它…
strip_tags() 是用來防君子,所有正規合法的 html 或 php 標籤,都將被濾除。
而 htmlspecialchars() 則是用來防小人,所有想借機偷渡的語法,也會被抓出來,例如 onmouseover="xxxx"。
這兩個函式用途很像,都是在作 HTML 輸出消毒,
但這兩者還是有一點點不同,可以這麼來理解它…
strip_tags() 是用來防君子,所有正規合法的 html 或 php 標籤,都將被濾除。
而 htmlspecialchars() 則是用來防小人,所有想借機偷渡的語法,也會被抓出來,例如 onmouseover="xxxx"。
- Jun 20 Mon 2011 14:15
-
[PHP][轉] 四捨五入,無條件進位, 無條件捨去
取整數函數
round($n) 四捨五入
ceil($n) 無條件進位
floor($n) 無條件捨去
php裏面轉換大小寫strtolower() , strtoupper()
mysql裏面轉換大小寫 ucase() , lcase()
round($n) 四捨五入
ceil($n) 無條件進位
floor($n) 無條件捨去
php裏面轉換大小寫strtolower() , strtoupper()
mysql裏面轉換大小寫 ucase() , lcase()
- Jun 19 Sun 2011 14:31
-
花開物語
- Jun 17 Fri 2011 11:22
-
[SQL][轉] NOT LIKE
NOT LIKE
(NOT) LIKE 運算子 (SQL (NOT) LIKE Operator)
LIKE 運算子搭配 WHERE 子句可以依一特定模式 (Pattern) 為條件來搜尋資料表中的特定資料。
(NOT) LIKE 運算子 (SQL (NOT) LIKE Operator)
LIKE 運算子搭配 WHERE 子句可以依一特定模式 (Pattern) 為條件來搜尋資料表中的特定資料。
- Jun 15 Wed 2011 21:46
-
[轉][Javascript] JS 中如何判断-null