Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include("konfiguration.php");
- $username = mysql_real_escape_string(stripslashes($_POST["u"]));
- $password = mysql_real_escape_string(stripslashes($_POST["p"]));
- $usercheck1 = mysql_query("SELECT * FROM game_users WHERE username='$username'
- LIMIT 1");
- $numuser = mysql_num_rows($usercheck1);
- $uinfo = mysql_fetch_array($usercheck1);
- mysql_free_result($usercheck1);
- ?>
- <?php
- $dhost = "--will enter real here"; # Usually localhost or the IP address of the host
- $dusername = "root"; # Database username
- $dpassword = "&345346HSD&shdysSDSDadfds&/D/F&SDFhhdsfuyg&/DF/encryption"; # Database password
- $ddatabase = "build2"; # Database name
- $con = mysql_connect($dhost, $dusername, $dpassword) or die ("Cannot connect to the
- database");
- mysql_select_db($ddatabase, $con) or die ("Cannot select the table");
- ?>
- Undefined index: u in /.build2/loggain.php
- on line 8
- Undefined index: p in /.build2/loggain.php
- on line 9
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement