Shield is a all-in-one solution for user authentication & management.
It is user-friendly, light, secure and in constant development.
and many more…
Page protection in just 3 lines of code!
include("core/integrate.php"); // Including the integration system lock("core/config.php"); // locking the current page, <i> core/config.php </i> is the path to the configuration file. set_logout('logout'); // setting the logout parameter
In order to logout you can place the following link:
<a href="?logout"> Logout </a>
?logout is the parameter that you set via the set_logout() function.
You can log out without a link, just by appending the logout parameter (in our case – ?logout .