Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

A PHP framework that specializes in login and handling sessions.

License

Notifications You must be signed in to change notification settings

TermOfficial/Term-Framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This framework is unsupported, and will not recieve any updates at all. Maybe I'll make a new one.

WARNING

For some reason, the function that sets $SESSION[""] or $COOKIE[""] isn't working. - You'll have to set these values yourself. How do I do this?

Luckily it's not that hard!

You just have to check if the function returns 1. Just like this.

if(login($username, $password) == 1){
    // execute the correct login code here. e.g.
    // $_SESSION["username"] = $username;
    // or
    // setcookie("username", $username, time() + (86400 * 5), "/"); (btw 86400 is one day)
    // and then access the cookie with
    // $_COOKIE["username"];
}

Term-Framework

A PHP framework that specializes in login and handling sessions.

Installation

Please use the framework.php script. Copy & paste. framework-true.php is just for me to check the framework version.

About

A PHP framework that specializes in login and handling sessions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published