Tobilastik's Posts
Nairaland Forum › Tobilastik's Profile › Tobilastik's Posts
1 2 3 4 5 6 7 8 9 10 (of 28 pages)
DullarD-po |
Datbadtguy:somebody should answer this plssssss |
instant payment is guaranteed contact me now on |
Emmysky:tried this one too. but seems complicated downloading the certifcate from sslforfree.com |
urchnez:cloudfare has already given me that.. but there is no where to put it on my wordpress |
bro please i need your help... I sent you a PM |
pls ![]() |
I have a wordpress website and I am registered with hostgator and I can request hostgator for ssl but is there anyway I can install ssl on my website without using cpanel ?Please guys, help me out |
Earnmoney51123:08169850373 Holla me on whatsapp let's talk |
jollyincome.com |
saw a new pon'zi_like website yesterday www.jollyincome.com who has tested it, and who can vouch for the site here? |
saw a new pon'zi_like website yesterday www.jollyincome.com who has tested it, and who can vouch for the site here? |
saw a new pon'zi_like website yesterday www.jollyincome.com who has tested it, and who can vouch for the site here? |
OP you should have added (viewers discretion), why snap himself while urinating Ode omo ![]() |
Bolaji21:it's not there can I PM you? |
Bolaji21:in which folder will I see that |
adewasco2k:yh this is what It's bringing rather Fatal error: Uncaught Error: Call to a member function fetch() on boolean in C:\xampp\htdocs\img\login.php:29 Stack trace: #0 {main} thrown in C:\xampp\htdocs\img\login.php on line 29 the get_result just change to fetch() no difference |
adewasco2k:tried that now Fatal error: Uncaught Error: Call to a member function get_result() on boolean in C:\xampp\htdocs\img\login.php:29 Stack trace: #0 {main} thrown in C:\xampp\htdocs\img\login.php on line 29 |
<?php ob_start(); session_start(); require_once 'dbconnect.php'; // if session is set direct to index if (isset($_SESSION['user'])) { header("Location: index.php" ;exit; } if (isset($_POST['btn-login'])) { $email = $_POST['email']; $upass = $_POST['pass']; $password = hash('sha256', $upass); // password hashing using SHA256 $stmt = $conn->prepare("SELECT id, username, password FROM users WHERE email= ?" ;if (!$stmt) { echo ""; } else { $stmt->bind_param("ssss", $username, $password); $stmt->execute(); } //get result $res = $stmt->get_result(); $stmt->close(); $row = mysqli_fetch_array($res, MYSQLI_ASSOC); $count = $res->num_rows; if ($count == 1 && $row['password'] == $password) { $_SESSION['user'] = $row['id']; header("Location: index.php" ;} elseif ($count == 1) { $errMSG = "Bad password"; } else $errMSG = "User not found"; } ?> <!DOCTYPE html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Login</title> <link rel="stylesheet" href="assets/css/bootstrap.min.css" type="text/css"/> <link rel="stylesheet" href="assets/css/style.css" type="text/css"/> </head> <body> <div class="container"> <div id="login-form"> <form method="post" autocomplete="off"> <div class="col-md-12"> <div class="form-group"> <h2 class="">Login:</h2> </div> <div class="form-group"> <hr/> </div> <?php if (isset($errMSG)) { ?> <div class="form-group"> <div class="alert alert-danger"> <span class="glyphicon glyphicon-info-sign"></span> <?php echo $errMSG; ?> </div> </div> <?php } ?> <div class="form-group"> <div class="input-group"> <span class="input-group-addon"><span class="glyphicon glyphicon-envelope"></span></span> <input type="email" name="email" class="form-control" placeholder="Email" required/> </div> </div> <div class="form-group"> <div class="input-group"> <span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span> <input type="password" name="pass" class="form-control" placeholder="Password" required/> </div> </div> <div class="form-group"> <hr/> </div> <div class="form-group"> <button type="submit" class="btn btn-block btn-primary" name="btn-login">Login</button> </div> <div class="form-group"> <hr/> </div> <div class="form-group"> <a href="register.php" type="button" class="btn btn-block btn-danger" name="btn-login">Register</a> </div> </div> </form> </div> </div> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> <script type="text/javascript" src="assets/js/bootstrap.min.js"></script> </body> </html> |
Bolaji21:thanks for the reply bro. i'll post the whole code now |


;