md5crypt Posted on 2009/07/06 by 白天 Reply php 版 md5crypt postfix extmail 使用 function md5crypt ($pw) { $MAGIC = "$1$"; $rand = substr (md5 (mt_rand ()), 0, 8); return crypt($pw, '$1$'.$rand.'$'); }