From f9e7e1635894e4d5669f0e5c4c58205b3eaecb50 Mon Sep 17 00:00:00 2001 From: Josh Ashton Date: Mon, 31 Mar 2025 16:24:22 -0600 Subject: [PATCH] update --- birthday/index.php | 2 +- input/index.php | 20 ++++++++++---------- insecure/hidden.php | 4 ++-- insecure/index.php | 4 ++-- music/index.php | 6 +++--- poll/index.php | 4 ++-- session/includes/account.php | 3 +-- session/index.php | 14 +++++++------- 8 files changed, 28 insertions(+), 29 deletions(-) diff --git a/birthday/index.php b/birthday/index.php index cfad0e4..9fe322f 100755 --- a/birthday/index.php +++ b/birthday/index.php @@ -4,7 +4,7 @@ - + Birthday | Josh Ashton diff --git a/input/index.php b/input/index.php index 4877435..8beff37 100755 --- a/input/index.php +++ b/input/index.php @@ -1,26 +1,26 @@ Input - - + +

Input Assignment

Thank you for contacting me!

@@ -32,7 +32,7 @@ if ($first_name || $last_name || $email || $phone_number) { '; -} else { + } else { echo '
@@ -48,8 +48,8 @@ if ($first_name || $last_name || $email || $phone_number) {
'; -} -?> + } + ?> diff --git a/insecure/hidden.php b/insecure/hidden.php index 4e39999..8482286 100755 --- a/insecure/hidden.php +++ b/insecure/hidden.php @@ -44,8 +44,8 @@ function fileRead($file) Spies - - + + diff --git a/insecure/index.php b/insecure/index.php index 6d39d33..d3ea560 100755 --- a/insecure/index.php +++ b/insecure/index.php @@ -61,8 +61,8 @@ if (isset($_GET['logout'])) { Spies - - + + diff --git a/music/index.php b/music/index.php index 1696294..dba9712 100755 --- a/music/index.php +++ b/music/index.php @@ -3,15 +3,15 @@ Favorite Albums - + - +
- +
diff --git a/poll/index.php b/poll/index.php index 398007d..911bdf5 100755 --- a/poll/index.php +++ b/poll/index.php @@ -44,8 +44,8 @@ $poll_options = [ Poll - - + + diff --git a/session/includes/account.php b/session/includes/account.php index 583af26..6724060 100755 --- a/session/includes/account.php +++ b/session/includes/account.php @@ -4,7 +4,7 @@ session_start(); if ($_SESSION['new-access'] !== true) header('Location: .'); -include_once ('functions.php'); +include_once('functions.php'); echo '

Account

'; @@ -24,4 +24,3 @@ echo '
'; -?> diff --git a/session/index.php b/session/index.php index 546817d..db95e91 100755 --- a/session/index.php +++ b/session/index.php @@ -8,7 +8,7 @@ require_once '../vendor/autoload.php'; $dotenv = Dotenv\Dotenv::createImmutable(__DIR__); $dotenv->safeLoad(); -include_once ('includes/functions.php'); +include_once('/session/includes/functions.php'); authUser(); ?> @@ -17,25 +17,25 @@ authUser(); Session - - + + - +