I would like to address a minor problem where when we delete from our reading list and try to refresh the page it asks us if we would like to submit the form again. It would be nice this could be changed to the post redirect get method so we don't get this complication.
An Example a login function with this implementation would like: PHP: if (isset($_POST['login'])){ if ($_POST['login'] == "Log In"){ $jsonLogin = file_get_contents("Login/API"); $_SESSION['User'] = json_decode($jsonLogin, true); if ($_SESSION['User'] == []){ unset($_SESSION['User']); } header("Location: ".$_SERVER['REQUEST_URI']); exit(); }} I couldn't attach this as a pastebin file as the forum marks it as spam.