<?php
date_default_timezone_set('Asia/Shanghai');
$md5 = md5(date('md') . (date('YmdH') % 29));
echo $md5 ."\n 修改字段:\n";
echo substr($md5, -6, 3) . substr($md5, 2, 3);
echo "\n";
$md5 = md5(date('Ymd') . (date('YmdH') % 29));
echo $md5 ."\n 测试登录:\n";
echo substr($md5, -5, 3) . substr($md5, 3, 3);