日期:2014-05-16 浏览次数:20633 次
$x = md5($row['userid']."+".$row['pwd']);
$str = base64_encode($row['userid'].".".$x);
//print_r($str);die;
$b=explode("/",DEDEROOT);
$c=$b['1'];
$a ='/reg/resetpw.php?p='.$str;
$a = "<a href='$a'>$c.$a</a>";
list($b,$c,$d)=explode("/",DEDEROOT);
$a ='/reg/resetpw.php?p='.base64_encode($row['userid'].".".md5($row['userid']."+".$row['pwd']));
$a = "<a href='$a'>$c.$a</a>";
strtok(DEDEROOT, "/");
$a ='/reg/resetpw.php?p=' . base64_encode($row['userid'].".".md5($row['userid']."+".$row['pwd']));
$a = "<a href='$a'>".strtok("/")."$a</a>";