₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,577 members, 8,446,103 topics. Date: Thursday, 16 July 2026 at 06:47 AM

Toggle theme

Tobilastik's Posts

Nairaland ForumTobilastik's ProfileTobilastik's Posts

1 2 3 4 5 6 7 8 9 10 (of 28 pages)

PoliticsRe: President Buhari Looking Cute, Healthier & Full Of Life In New Pictures by Tobilastik(m): 8:13pm On Oct 05, 2017
DullarD-po
BusinessRe: How I Got My Payoneer Card Within 12 Days by Tobilastik(m): 1:06am On Oct 01, 2017
Datbadtguy:
Finally, somebody in my situation
What did you do? Have you gotten your payoneer card and did you receive funds before you got it.
When my payoneer account was approved, I didn’t receive any information about payoneer card in any way. Please help out.
somebody should answer this plssssss
BusinessSell your iTunes card now by Tobilastik(op):
instant payment is guaranteed




contact me now on
WebmastersRe: Can I Install Ssl On My Website Without Cpanel? by Tobilastik(op): 11:35pm On Sep 18, 2017
Emmysky:
You can try out let's encrypt. I have tried cloudflare but the configuration is too hectic. Let's encrypt is just one click SSL if your host supports it.. OR you can go to sslforfree.com to get a Certificate still from Let's encrypt
tried this one too. but seems complicated
downloading the certifcate from sslforfree.com
WebmastersRe: Can I Install Ssl On My Website Without Cpanel? by Tobilastik(op): 11:33pm On Sep 18, 2017
urchnez:
You need your name servers 1 & 2 to do that using cloudflare ssl
cloudfare has already given me that.. but there is no where to put it on my wordpress
WebmastersRe: How To Activate Free SSL Certificate For Your Website by Tobilastik(m): 4:44pm On Sep 18, 2017
bro

please i need your help... I sent you a PM
WebmastersRe: Can I Install Ssl On My Website Without Cpanel? by Tobilastik(op): 12:28pm On Sep 18, 2017
plshuh
WebmastersCan I Install Ssl On My Website Without Cpanel? by Tobilastik(op):
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 cpanelhuh?


Please guys, help me out
WebmastersRe: Wordpress Tech Blog Needed by Tobilastik(m): 9:23am On Aug 29, 2017
Earnmoney51123:
need more and price
let's chat privately, then we can talk price

08169850373
WebmastersRe: Wordpress Tech Blog Needed by Tobilastik(m): 12:58pm On Aug 27, 2017
Earnmoney51123:
pls I need a WP blog with naijatechguide design or shopdirect.ng design pls speak your price

for those who have a site should drop his site link for met review and pick D Pesin dat will help me wif it
08169850373

Holla me on whatsapp
let's talk
BusinessRe: Nse Market Capitalisation Increases By N208bn by Tobilastik(m): 8:11am On Aug 19, 2017
jollyincome.com
SportsRe: Tecno To Recruit Young African Players To Play In The UK by Tobilastik(m): 12:06pm On Aug 15, 2017
saw a new pon'zi_like website yesterday

www.jollyincome.com

who has tested it, and who can vouch for the site here?
EducationRe: Lookalike Mom And Daughter Graduate From Same University On The Same Day(Photos) by Tobilastik(m): 11:54am On Aug 15, 2017
saw a new pon'zi_like website yesterday

www.jollyincome.com

who has tested it, and who can vouch for the site here?
EducationRe: See What SS2 Students Were Spotted Doing In Sokoto That Will Make U Cry(pics by Tobilastik(m): 11:49am On Aug 15, 2017
saw a new pon'zi_like website yesterday

www.jollyincome.com

who has tested it, and who can vouch for the site here?
CelebritiesRe: Jim Iyke Pictured Urinating By The Roadside On His Way To Enugu by Tobilastik(m): 8:25am On Aug 07, 2017
OP
you should have added (viewers discretion), why snap himself while urinatinghuh Ode omo undecided
WebmastersRe: Laravel Framework Experts Needed by Tobilastik(op): 10:47pm On Aug 05, 2017
Bolaji21:
It should be in the root folder. You can just search for .sql
it's not there
can I PM you?
WebmastersRe: Laravel Framework Experts Needed by Tobilastik(op): 10:20pm On Aug 05, 2017
Bolaji21:
Did he give you the database export .sql file? Or is there a .sql file in the files he gave you? If yes, your website can be fixed. If not, it's a bigger problem.
in which folder will I see that
WebmastersRe: Post your PHP Problems Here by Tobilastik(m): 12:22pm On Aug 04, 2017
adewasco2k:
I mean use that instead of the get_result()
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
WebmastersRe: Post your PHP Problems Here by Tobilastik(m): 12:01pm On Aug 04, 2017
adewasco2k:
Why not use
$stmt->fetch();
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
WebmastersRe: Post your PHP Problems Here by Tobilastik(m): 11:53pm On Aug 03, 2017
<?php

ob_start();
session_start();
require_once 'dbconnect.php';

// if session is set direct to index
if (isset($_SESSION['user'])) {
header("Location: index.php"wink;
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= ?"wink;

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"wink;
} 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>
WebmastersRe: Post your PHP Problems Here by Tobilastik(m): 11:51pm On Aug 03, 2017
Bolaji21:
The bug is originating from your login.php script. You're trying to use get_result() on boolean arguments.
Programmers here might be able to help if you post the content of the login.php, particularly the function get_result() and where you're calling the function
thanks for the reply bro.
i'll post the whole code now

1 2 3 4 5 6 7 8 9 10 (of 28 pages)