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