摘要:
1 width = isset($arr['width']) ? $arr['width'] : 120; 12 $this->height = isset($arr['height']) ? $arr['height'] : 30; 13 $this->counts = isset($arr['counts']) ? $arr['coun... 阅读全文
摘要:
用的DB类,主要采用是的PDO的内容,先对PDO中的关于exec与query两个方法进行封装,并统一进行错误处理,启用异常处理模式与默认字符集设置,在子类中设置一个保护属性protected $table = '';子类中的获取表的方法统一使用$this->getTBName()方法来获取表名 type = isset($arr['type']) ? $arr['type'] : 'mysql'... 阅读全文
摘要:
seesion的入库(mysql)操作,主要是修改seesion的读取与写入操作 主要是通过 bool session_set_save_handler(seesion_open,seesion_close,session_read,session_write,session_destory,ses 阅读全文