-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Let's start
Okay, this git is simply PHP login for beginners.
Making custom only-members-page
Add first to your document
<?php
# Starts the session (without this sessions don't work)
session_start();
# If user doesn't have session
if (!isset($_SESSION['API'])) {
# Redirects user to index.php
header('Location:index.php');
# Stops reading the file.. =)
exit;
}
?>Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels