Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require "header.php";
- ?>
- <div class="w3-main">
- <div class="w3-row w3-padding-0">
- <div class="w3-twothird w3-container">
- <?php
- if (isset($_SESSION['userId'])) {
- header("Location: mylisttoday.php");
- }
- else {
- if (isset($_GET['error'])) {
- if ($_GET['error'] == "emptyfields") {
- echo '<p> Error: Input area cannot be empty</p>';
- }
- }
- if (isset($_GET['error'])) {
- if ($_GET['error'] == "wrongpwd") {
- echo '<p> Error: Wrong password, try again </p>';
- }
- }
- if (isset($_GET['error'])) {
- if ($_GET['error'] == "nouser") {
- echo '<p> Error: Email does not exist, try again </p>';
- }
- }
- if (isset($_GET['signup'])) {
- if ($_GET['signup'] == "success") {
- echo '<p> Congratulations, thank you for registering </p>';
- }
- }
- }
- ?>
- </div>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement