漂定

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2016年5月12日

摘要: // 随机字符串 function random($length, $numeric = FALSE) { $seed = base_convert(md5(microtime() . $_SERVER['DOCUMENT_ROOT']), 16, $numeric ? 10 : 35); $seed = $numeric ? (str_replace('0', '', $see... 阅读全文
posted @ 2016-05-12 09:15 漂定 阅读(265) 评论(0) 推荐(0) 编辑