摘要: 1、static:静态的静态对象不属于对象,它只属于一个类 class Person{ static $type="小孩"; public $name; public $pwd; }2、调用静态对象:person::$type类本身调用静态对象:self::$type3、extends:继承 阅读全文
posted @ 2014-05-22 23:50 失忆^ Dreams 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 1、dirname:获取前缀 $oBasePath = dirname($oBasePath)."/fckeditor/";2、addslashes:转义字符,把在文本里输入的单引号,一样的传入到数据库中3、fckeditor的使用 BasePath= $oBasePath ; $oFCKedit... 阅读全文
posted @ 2014-05-22 23:41 失忆^ Dreams 阅读(75) 评论(0) 推荐(0) 编辑