An Online Forum php Code i-Discuss
I-Discuss Online forum Code Download all files Download Folder Structure ->img ->partial ---->_handlelogin.php ---->_handleSignip.php ---->db_connect.php ---->footer.php ---->header.php ---->loginModal.php ---->logout.php ----->signupModal.php root ---->about.php ---->contact.php ---->index.php ---->search.php ----->thread.php ---->threadlist.php Database details in last of the page _______________________________________________________ 1) _handleLogin.php code <?php $showError= false; if($_SERVER["REQUEST_METHOD"] == "POST"){ include 'db_connect.php'; $username=$_POST['username']; $password=$_POST['password']; $sql = "SELECT * from `users` where username ='$username'"; $result = mysqli_query($conn, $sql); $numRows= mysqli_num_rows($result); if($numRows ==1){ $row = mysqli_fetch_assoc($result); if(password_verify($password, $row['passwor...