account-login
hey guys I am just fiddling with code with a helping hand from https://www.w3schools.com/php/php_form_validation.asp
here is what I got so far ( not tested yet ) Code:
// |
ok kinda confused on this one. :sad:
So first off you did not include any of the needed files (config, data base) second off you log them in then log them right back out? also you want to make sure that the server is using Code:
get_magic_quotes_gpc() Code:
stripslashes( |
I updated the original post after I relized I left out the db and functions.php
if you check it again you will see I secured the: Code:
Code:
Code:
define('DB_SERVER', 'localhost'); Extra Note: Code:
function test_input($data) { https://www.w3schools.com/php/showph...ion_escapechar |
MySqli needs the connection ID on all
Code:
mysqli_query Code:
$res = mysqli_query($db, "SELECT id,password,secret,status,enabled |
now that makes more sense now how the new db style approach explains alot of other issues :drink:
|
All times are GMT +2. The time now is 11:04. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.