Need a little help


try again with the last script i posted…(updated again)

tell me the errors if there are any


same errors :confused: is it ok if i give you my account so u can see ;/ make it easier ;-; il change pass after


yah sure give me the details…


damn taking long time lmao


Has this issue resolved?


i have put register to 5.6 but login doesnt support it such so i reprogrammed it and now it gives me this for login :confused: can you help me

Notice: Undefined index: username in /storage/h2/401/535401/public_html/index.php on line 111

Notice: Undefined index: password in /storage/h2/401/535401/public_html/index.php on line 112strong text

Username: Password:
<?php $host="localhost"; // Host name $username="id535401_root"; // Mysql username $password="Patch201796"; // Mysql password $db_name="id535401_kickednetwork"; // Database name $tbl_name="members"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password") or die("cannot connect"); mysql_select_db("$db_name") or die("cannot select DB"); // username and password sent from form $myusername=$_POST['username']; $mypassword=$_POST['password']; // To protect MySQL injection (more detail about MySQL injection) $username = stripcslashes($username); $password = stripcslashes($password); $username = mysql_real_escape_string($username); $password = mysql_real_escape_string($password); $sql="SELECT * FROM $tbl_name WHERE username='$myusername' and password='$mypassword'"; $result=mysql_query($sql); // Mysql_num_row is counting table row $count=mysql_num_rows($result); // If result matched $myusername and $mypassword, table row must be 1 row if($count==1){ // Register $myusername, $mypassword and redirect to file "login_success.php" session_register("$myusername"); session_register("$mypassword"); header("location:login_success.php"); } else { echo "Wrong Username or Password"; } ?>


I’d go hunting on phpfreaks for answers I’ve not touched code properly in years I would just get a working login system elsewhere and use it kind of deal.