06 2010 档案

 
php中session过期时间设置及回收机制详解
摘要:原文地址:http://www.php6d.com/article/201001/201001_1264039039.htmlphp中session过期时间设置及回收机制详解: 修改php中的session过期时间可以修改php配置文件php.ini中的session.gc_maxlifetime即可。 当php每发出一次请求时,会有1/100的概率(默认值)触发"session回收"。如果"se... 阅读全文
posted @ 2010-06-29 09:57 mustardpeanut 阅读(528) 评论(0) 推荐(0)
set up session lifetime
摘要:login.html代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DT... 阅读全文
posted @ 2010-06-22 17:21 mustardpeanut 阅读(227) 评论(0) 推荐(0)
phpmailer
摘要:Linux服务器一开防火墙就出来错误Uncaught exception 'phpmailerException' with message 'SMTP Error: Could not connect to SMTP host.'。本地又是好的。Our Service allows you to use your own mail server and client to send outgoi... 阅读全文
posted @ 2010-06-21 16:24 mustardpeanut 阅读(250) 评论(0) 推荐(0)
FLEAPHP学习笔记2 -- 数据库
摘要:defined('APP_DIR') or die("HTTP/1.0 404 Not Found");FLEA::loadClass('FLEA_Db_TableDataGateway');class Model_Logs extends FLEA_Db_TableDataGateway{ //指定操作的数据库名 var $schema = 'fb_oserver_log'; //指定操作的表名... 阅读全文
posted @ 2010-06-07 14:00 mustardpeanut 阅读(204) 评论(1) 推荐(1)