Skip to content

finish README #1

@parsed

Description

@parsed

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;
}
?>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions