fts #15
@ -1,3 +1,4 @@
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
@ -1,3 +1,4 @@
|
||||
|
||||
<?php
|
||||
session_start();
|
||||
$pdo = new PDO('mysql:host=localhost;dbname=usertable', 'usertable', 'password');
|
||||
|
@ -1,3 +1,4 @@
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Profile Page</title>
|
||||
@ -77,4 +78,4 @@ echo "</tr>";
|
||||
|
||||
<a href="logout.php"><button class="btn btn-danger">LOGOUT</button></a>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
@ -1,3 +1,4 @@
|
||||
|
||||
<?php
|
||||
session_start();
|
||||
$pdo = new PDO('mysql:host=localhost;dbname=usertable', 'usertable', 'password');
|
||||
|
@ -1,3 +1,4 @@
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Secure Area</title>
|
||||
@ -18,4 +19,4 @@ echo "Hi ".$username."!";
|
||||
<br><br><br><br>
|
||||
<a href="logout.php"><button class="btn btn-danger">LOGOUT</button></a>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user