<?php
include "global.php";
?>
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="ie6 ielt8"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="ie7 ielt8"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="ie8"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="login.css" />
</head>
<body>
<div class="container">
<section id="content">
<form method="POST">
<h1><?php echo $SYS_NAAM; ?></h1>
<div>
<input type="text" placeholder="Gebruikersnaam" required="" name="username" />
</div>
<div>
<input type="password" placeholder="Wachtwoord" required="" name="password" />
</div>
<div>
<input type="submit" value="Inloggen!" />
<a href="wachtwoord_vergeten.php">Wachtwoord vergeten?</a>
</div>
</form><!-- form -->
</section><!-- content -->
</div><!-- container -->
</body>
</html>
<?php
if ($_SERVER['REQUEST_METHOD'] == "POST") {
$sql = mysqli_query($c, "SELECT username,password FROM personeel,administrators WHERE username='".mysqli_real_escape_string($c, $_POST['username'])."'AND password='".mysqli_real_escape_string($c, sha1($_POST['password']))."'") ;
if ($sql == TRUE) {
setcookie("username", $_POST['username'], time()+1800);
setcookie("loggedin", TRUE, time()+1800);
unset ($_POST);
Header ("Location: landing.php");
} else {
echo mysqli_error($c); //Hier straks: "Gegevens niet gevonden" van maken
} //Sluit COOKIE/REDIRECT/SQL maken af
} //sluit IF METHOD POST
?>
- Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.10, 7.2.0
- Warning: include(global.php): failed to open stream: No such file or directory in /in/7tlUX on line 2
Warning: include(): Failed opening 'global.php' for inclusion (include_path='.:') in /in/7tlUX on line 2
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="ie6 ielt8"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="ie7 ielt8"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="ie8"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="login.css" />
</head>
<body>
<div class="container">
<section id="content">
<form method="POST">
<h1>
Notice: Undefined variable: SYS_NAAM in /in/7tlUX on line 18
</h1>
<div>
<input type="text" placeholder="Gebruikersnaam" required="" name="username" />
</div>
<div>
<input type="password" placeholder="Wachtwoord" required="" name="password" />
</div>
<div>
<input type="submit" value="Inloggen!" />
<a href="wachtwoord_vergeten.php">Wachtwoord vergeten?</a>
</div>
</form><!-- form -->
</section><!-- content -->
</div><!-- container -->
</body>
</html>
Notice: Undefined index: REQUEST_METHOD in /in/7tlUX on line 38
- Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.17
- Warning: include(global.php): failed to open stream: No such file or directory in /in/7tlUX on line 2
Warning: include(): Failed opening 'global.php' for inclusion (include_path='.:') in /in/7tlUX on line 2
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="ie6 ielt8"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="ie7 ielt8"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="ie8"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="login.css" />
</head>
<body>
<div class="container">
<section id="content">
<form method="POST">
<h1>
Notice: Undefined variable: SYS_NAAM in /in/7tlUX on line 18
</h1>
<div>
<input type="text" placeholder="Gebruikersnaam" required="" name="username" />
</div>
<div>
<input type="password" placeholder="Wachtwoord" required="" name="password" />
</div>
<div>
<input type="submit" value="Inloggen!" />
<a href="wachtwoord_vergeten.php">Wachtwoord vergeten?</a>
</div>
</form><!-- form -->
</section><!-- content -->
</div><!-- container -->
</body>
</html>
Notice: Undefined index: REQUEST_METHOD in /in/7tlUX on line 38
- Output for 5.0.4 - 5.0.5
- Warning: main(global.php): failed to open stream: No such file or directory in /in/7tlUX on line 2
Warning: main(): Failed opening 'global.php' for inclusion (include_path='.:') in /in/7tlUX on line 2
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="ie6 ielt8"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="ie7 ielt8"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="ie8"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="login.css" />
</head>
<body>
<div class="container">
<section id="content">
<form method="POST">
<h1>
Notice: Undefined variable: SYS_NAAM in /in/7tlUX on line 18
</h1>
<div>
<input type="text" placeholder="Gebruikersnaam" required="" name="username" />
</div>
<div>
<input type="password" placeholder="Wachtwoord" required="" name="password" />
</div>
<div>
<input type="submit" value="Inloggen!" />
<a href="wachtwoord_vergeten.php">Wachtwoord vergeten?</a>
</div>
</form><!-- form -->
</section><!-- content -->
</div><!-- container -->
</body>
</html>
Notice: Undefined index: REQUEST_METHOD in /in/7tlUX on line 38
- Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.3
- Warning: main(global.php): failed to open stream: No such file or directory in /in/7tlUX on line 2
Warning: main(): Failed opening 'global.php' for inclusion (include_path='.:') in /in/7tlUX on line 2
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="ie6 ielt8"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="ie7 ielt8"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="ie8"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="login.css" />
</head>
<body>
<div class="container">
<section id="content">
<form method="POST">
<h1>
Notice: Undefined variable: SYS_NAAM in /in/7tlUX on line 18
</h1>
<div>
<input type="text" placeholder="Gebruikersnaam" required="" name="username" />
</div>
<div>
<input type="password" placeholder="Wachtwoord" required="" name="password" />
</div>
<div>
<input type="submit" value="Inloggen!" />
<a href="wachtwoord_vergeten.php">Wachtwoord vergeten?</a>
</div>
</form><!-- form -->
</section><!-- content -->
</div><!-- container -->
</body>
</html>
Notice: Undefined index: REQUEST_METHOD in /in/7tlUX on line 38
- Output for 4.3.0 - 4.3.1
- Warning: main(global.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/7tlUX on line 2
Warning: main() [http://www.php.net/function.main]: Failed opening 'global.php' for inclusion (include_path='.:') in /in/7tlUX on line 2
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="ie6 ielt8"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="ie7 ielt8"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="ie8"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="login.css" />
</head>
<body>
<div class="container">
<section id="content">
<form method="POST">
<h1>
Notice: Undefined variable: SYS_NAAM in /in/7tlUX on line 18
</h1>
<div>
<input type="text" placeholder="Gebruikersnaam" required="" name="username" />
</div>
<div>
<input type="password" placeholder="Wachtwoord" required="" name="password" />
</div>
<div>
<input type="submit" value="Inloggen!" />
<a href="wachtwoord_vergeten.php">Wachtwoord vergeten?</a>
</div>
</form><!-- form -->
</section><!-- content -->
</div><!-- container -->
</body>
</html>
Notice: Undefined index: REQUEST_METHOD in /in/7tlUX on line 38
preferences:
145.05 ms | 404 KiB | 215 Q