php 产生随机字符串
摘要:public function create_code($pw_length){$randpwd = "";for ($i = 0; $i < $pw_length; $i++) {$randpwd .= chr(mt_rand(33, 126));}return urlencode($randpwd);}
阅读全文
posted @ 2014-02-24 10:58
posted @ 2014-02-24 10:58