You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

23 lines
567 B

<?php
$mydbhost = "localhost";
$mydbuser = "yimian";
$mydbpass = 'lymian0904';
$conn = mysqli_connect($mydbhost, $mydbuser, $mydbpass);
if(! $conn){
die("connect error: " . mysqli_error($conn));
}
mysqli_select_db( $conn, 'yimian');
$sql = "SELECT * FROM as2pswd";
$result = $conn->query($sql);
while($row = $result->fetch_assoc()) {
echo substr(md5(time()+6),rand(4,18));
echo $row['psswd'];
echo substr(md5(time()),rand(4,18));
}
?>