摘要: http://ask.csdn.net/questions/171665 阅读全文
posted @ 2016-02-25 17:38 pthlp 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 在研究邮箱非必填的过程中发现了个比较好用的random函数,在function_core.php中找到声明: function random($length, $numeric = 0) { $seed = base_convert(md5(microtime().$_SERVER['DOCUMEN 阅读全文
posted @ 2016-02-25 17:00 pthlp 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 最近有个需求是:邮箱非必答,但是X3.2是邮箱必填; 找到资料:http://www.51php.com/discuz/17147.html 但是修改后不起作用!提示‘Email 地址无效’! 用firephp跟踪发现:随机生成的email的后缀是@localhost!(找了好久……) 找到原因,修 阅读全文
posted @ 2016-02-25 15:58 pthlp 阅读(458) 评论(0) 推荐(0) 编辑