Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $db = mysqli_connect("localhost", "csgofkyf_mads", "oA?pDtqrV4AwQ", "csgofkyf_steamlogin");
- if (mysqli_connect_errno())
- {
- echo "Failed to connect to MySQL: " . mysqli_connect_error();
- }
- /**
- session_start();
- $username = $POST['name'];
- $password = $POST['password'];
- if($username&&$password)
- {
- $connect = mysql_connect("http://www.csgo.supply","oA?pDtqrV4AwQ","") or die("couldnt connect to the database");
- mysql_select_db("csgofkyf_steamlogin") or die ("Couldnt find database");
- $query = mysql_query("SELECT * FROM users_steam WHERE username='$username'");
- $numrows = mysql_num_rows($query);
- if($numrows!==0)
- {
- while($row = mysql_fetch_assoc($query))
- {
- $dbusername $
- $
- }
- }
- }
- **/
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement