欢迎访问我的独立博客
摘要: 登录验证的时候用到了函数session_register()这个函数在PHP5.4版本中已经被弃用了。所以直接注释掉相关语句就可以了。修改include/userlogin.class.php//@session_register($this->keepUserIDTag);$_SESSION[$this->keepUserIDTag] = $this->userID;//@session_register($this->keepUserTypeTag);$_SESSION[$this->keepUserTypeTag] = $this->userType; 阅读全文
posted @ 2012-12-28 19:41 github.com/starRTC 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 快捷键习惯设置:Tools->Options->Keyboard:Apply the following additional keyboard mappingscheme选择VisualC++ 6VA加快捷键:先为VA设置一下我自己个人比较喜欢的快捷键,不多,就两个。Tools->Options->Keyboard:Show commands containing:VassistX.NavigateForward Alt + -> 前进到后面的页面 (注意:Shortcutsfor selected command: 要选择TextEditor)VassistX 阅读全文
posted @ 2012-12-28 17:20 github.com/starRTC 阅读(347) 评论(0) 推荐(0) 编辑
摘要: DOM模型即文档对象模型,是将整个文档分成多个元素(如书、章、节、段等),并利用树型结构表示这些元素之间的顺序关系以及嵌套包含关系(理解html语言的读者会很容易理解这种树状模型)。如下是一个XML片段:<Persons><Person ID="1"><name>周星星</name><age>20</age></Person><Person ID="2"><name>白晶晶</name><age>18</age> 阅读全文
posted @ 2012-12-28 16:24 github.com/starRTC 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 为菜单Help下的About添加响应about对应actionAbout点击QAction会发出triggered()信号,所以,我们要做的是声明一个slot,然后connect这个信号。头文件中public slots: void showAboutMsg();构造函数中connect(actionAbout,SIGNAL(triggered()),this,SLOT(showAboutMsg()));实现:void ExcelReport::showAboutMsg(){ QMessageBox msgBox(this); msgBox.setWindowTitle("About 阅读全文
posted @ 2012-12-28 11:07 github.com/starRTC 阅读(9534) 评论(0) 推荐(0) 编辑