New pages
From LeakonWiki
(Latest | Earliest) View (newer 50) (older 50) (20 | 50 | 100 | 250 | 500)- 09:38, 22 August 2011 POST Multipart (hist) [1,200 bytes] Leakon (Talk | contribs) (Created page with '=Error Messages Explained= Since PHP 4.2.0, PHP returns an appropriate error code along with the file array. The error code can be found in the error segment of the file array t…')
- 11:26, 9 June 2010 Dev Reference (hist) [393 bytes] Leakon (Talk | contribs) (Created page with '=UltraEdit= #分隔符 <pre> "'/ :;~!@#%^&*()+-=[]{},.<> </pre>')
- 07:05, 12 May 2010 Reference UnSet (hist) [413 bytes] Leakon (Talk | contribs) (Created page with '代码: <pre> <?php function ChangeName(&$strName) { $strName = 'ChangeName'; } function ChangeName_UnSet(&$strName) { unset($strName); $strName = 'ChangeName_UnSet'; …')
- 07:03, 12 May 2010 PHP Study (hist) [167 bytes] Leakon (Talk | contribs) (Created page with 'Reference_UnSet 以引用的方式传递变量给函数,在内部先unset,然后再赋值,结果会怎样?')
- 11:06, 19 March 2010 JavaScript Reference (hist) [245 bytes] Leakon (Talk | contribs) (Created page with '==计算英文汉字混合字数== <pre> var intTotal = 0; var intLength = strValue.length; for (var i = 0; i < intLength; i++) { intTotal += strValue.charCodeAt(i) > 128 ? 2 :…')
- 05:33, 19 March 2010 MySQL Client Settings (hist) [867 bytes] Leakon (Talk | contribs) (Created page with '==MySQL Client Settings== 配置 MySQL 客户端,让工作更高效! <pre> [client] port = 3306 socket = /tmp/mysql.sock [mysql] prompt = "(\\u:mydb@leakon.com:\R:\m:\\s)[\\…')
- 06:03, 17 March 2010 PHP Error (hist) [270 bytes] Leakon (Talk | contribs) (Created page with '==动态打开 PHP 报错== 每次用到都找不到~~ <pre> ini_set("display_errors",1); ini_set("error_reporting",E_ALL&~E_NOTICE); // 5.3 以后支持 DEPRECATED,如果…')
- 04:09, 15 March 2010 PhpMyAdmin (hist) [2,131 bytes] Leakon (Talk | contribs) (Created page with '==解决 PhpMyAdmin 字符乱码问题== PMA 强制使用 utf8 字符集连接 MySQL,忽略服务器本身的设置,以及 MySQL connection collation 的设置。 ===解决…')
- 13:19, 17 November 2009 PHP Pack Performance (hist) [3,192 bytes] Leakon (Talk | contribs) (Created page with 'PHP 性能优化 二进制转换 pack() 序言 今天搞一个数据存储程序,需要把数据转换成二进制存储。 在转换过程中,发现效率很低,不能…')
- 15:45, 11 November 2009 MySQL Reserved Words (hist) [3,438 bytes] Leakon (Talk | contribs) (Created page with '9.6. MySQL中保留字的处理 尝试使用一个识别符,例如使用嵌入式MySQL数据类型或函数名作为表名或列名,例如TIMESTAMP或GROUP,会造成一个…')
- 15:44, 11 November 2009 MySQL Reference (hist) [89 bytes] Leakon (Talk | contribs) (Created page with 'MySQL_Reserved_Words MySQL 保留字')
- 02:24, 5 November 2009 Favicon (hist) [8,895 bytes] Leakon (Talk | contribs) (Created page with 'Favicon在所有主流浏览器上都能显示。 '''Favicon'''是''favorites icon''的缩写,亦被称为'''websi…')
- 13:09, 29 October 2009 SofavDB Pager (hist) [3,320 bytes] Leakon (Talk | contribs) (Created page with '=SofavDB_Pager= ==简介== 提供一个简单的方法从数据库中获取部分集合,并分类显示。 SofavDB 提供了 2 个分页类,适用与不同的应用场合。…')
- 13:09, 29 October 2009 SofavDB Table (hist) [5,482 bytes] Leakon (Talk | contribs) (Created page with '=SofavDB_Table= ==准备工作== table_gmail 表结构 <pre> Field Type Collation Null Key Default Extra ----------- --------- --------…')
- 13:09, 29 October 2009 SofavDB Record (hist) [4,539 bytes] Leakon (Talk | contribs) (Created page with '=SofavDB_Record= ==定义数据表结构== <pre> <?php class GMail extends SofavDB_Table { public function initialize() { $this->setTableName('table_gmail'); $this->hasC…')
- 13:09, 29 October 2009 SofavDB Criteria (hist) [3,290 bytes] Leakon (Talk | contribs) (Created page with '=SofavDB_Criteria= ==简介== Criteria 的中文意思是 “标准”,在 SQL 中我们可以称之为条件表达式。 SofavDB_Criteria 主要功能是帮你把 PHP 关联…')
- 13:08, 29 October 2009 SofavDB Manager (hist) [3,363 bytes] Leakon (Talk | contribs) (Created page with '=SofavDB_Manager= ==设置参数== ===参数示例=== <pre> Table: mysql://username:password@localhost:3306/dbname?encoding=utf8&persistent=off </pre> ===参数说明=== Table…')
- 13:08, 29 October 2009 Document (hist) [137 bytes] Leakon (Talk | contribs) (Created page with 'SofavDB_Manager SofavDB_Criteria SofavDB_Record SofavDB_Table SofavDB_SQL SofavDB_Symfony SofavDB_Pager')
- 13:07, 29 October 2009 SofavDB (hist) [26 bytes] Leakon (Talk | contribs) (Created page with 'Document 文档 手册')
- 13:07, 29 October 2009 出师表 (hist) [2,501 bytes] Leakon (Talk | contribs) (Created page with ' 先帝创业未半而中道崩殂(cú);今天下三分,益州疲(pí)弊,此诚危急存亡之秋也。然侍卫之臣不懈(xiè)于内,忠志之士忘…')
- 13:07, 29 October 2009 RegularExpressionTips (hist) [352 bytes] Leakon (Talk | contribs) (Created page with '=Regular Expression Tips= 正则表达式的一些技巧 ==Exclude some words== 排除关键字 排除字符串 不包含关键字 不包含字符串 目标:当字符串中…')
- 13:06, 29 October 2009 SymfonyHelper-select tag (hist) [1,815 bytes] Leakon (Talk | contribs) (Created page with '我们做数据库设计时,会用数字标记某条记录的状态。最简单的例子,一个 gender 字段,是 tinyint 类型,用 1 代表男性,2 代表女性。 …')
- 13:06, 29 October 2009 SymfonyWiki (hist) [146 bytes] Leakon (Talk | contribs) (Created page with '这里是一些 Symfony 的代码模板,和一些开发过程中总结的经验。 SymfonyHelper-select_tag 生成 option 的 helper 代码')
- 13:05, 29 October 2009 FreeBSDBuildCDsToDVD (hist) [6,181 bytes] Leakon (Talk | contribs) (Created page with '=Build FreeBSD Installation CDs To One DVD= 本文分别以 Windows 平台和 Linux 平台描述了如何把 FreeBSD 的多张安装 CD 合并为一张 DVD ==Windows Platform== W…')
- 13:05, 29 October 2009 MySQLUniqueKeyCharset (hist) [1,838 bytes] Leakon (Talk | contribs) (Created page with '=MySQL Unique Key and Character Set= MySQL 唯一索引和字符集之间的一个简单测试。 可以看到,mysql_real_escape_string() 是和当前连接的字符集密切…')
- 13:04, 29 October 2009 PerformanceFileFGets (hist) [675 bytes] Leakon (Talk | contribs) (Created page with '=File和FGets的性能对比= 要把一个文本文件的每一行都拆分到数组中,可以用两个函数:file() 和 fgets()。 file() 是直接完成预期的功能,…')
- 13:04, 29 October 2009 MySQLStatements (hist) [498 bytes] Leakon (Talk | contribs) (Created page with '==建库编码== <pre> // 设置 GBK 编码的数据库 CREATE DATABASE table_post DEFAULT CHARACTER SET gbk COLLATE gbk_chinese_ci CREATE DATABASE table_post DEFAULT CHARACTER …')
- 13:04, 29 October 2009 Blog HowToDoEverithing (hist) [4,815 bytes] Leakon (Talk | contribs) (Created page with '很巧的一件事,让我感觉到,在做事的时候,人与人之间的差别怎么那么大。 今早,公司发布了IM。以前一直没有见过真正的版本,公…')
- 13:03, 29 October 2009 Code Sandbox (hist) [1,226 bytes] Leakon (Talk | contribs) (Created page with '<pre> <?php class SimpleModel { protected $id, $name, $mail; protected $property; public function __construct() { $this->property = array( 'first_name' => 'Leakon',…')

