Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $host="localhost";
- $user="h62608";
- $pass="xmLjdV3220"; //установленный вами пароль
- $db_name="Base";
- $link=mysql_connect($host,$user,$pass);
- mysql_select_db($db_name,$link);
- ?>
- <html>
- <head>
- <title>seedhelp</title>
- </head>
- <body>
- <?php
- $sql = mysql_query("SELECT `seed` FROM `seed`", $link);
- while ($result = mysql_fetch_array($sql)) {
- $server_seed = "['seed']";
- $day = "20161009";
- $round_id = "497910";
- $hash = hash("sha256",$server_seed."-".$day."-".$round_id);
- $roll = hexdec(substr($hash,0,8)) % 15;
- if ($roll = 12)
- {
- echo['seed'];
- }
- esle
- {
- echo non;
- }
- }
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement