MW Login v2.0
Download: MW Login v2
Author: Lucas Viana Dias Carvalho
Website: blog.masterdaweb.com / www.gbcheats.com.br
email: [email protected] / [email protected]
The script was made in PHP/MySQL and with simple HTML and CSS. A few years ago, when I started studying PHP, I had made the first
version of MW Login and as it was a bit disorganized, without identities and did not use Object Orientation at all, at the request of the
visitors to the blog I made the second version, MW Login v2.0, this time with a bit of Object Orientation and simplified. I stand by
I’m happy to update the script, implementing new functions according to your needs, just get in touch.
Functions:
– Login and user registration.
– Page protection with
– Administrative panel with user display and function to edit or delete users.
– Page for users to update their registration, change their password, email address, etc.
– Cookies to keep the user logged in.
Archives:
cadastrar.php – User registration page.
login.php – User login page.
protect.php – Protects your pages by forcing visitors to log in or register.
index.php – Example page of protected content.
edit.php – Allows user registration to be changed.
admin/index.php – Admin Panel (View, Edit and Delete users)
admin/delete.php – Deletes user
class/db.class.php – Class that connects to and operates on the database
class/usuario.class.php – Class with functions for registering users, editing users, etc…
class/valida.class.php – Class to validate user data (name, email, password, etc.)
table.txt – MySQL table to be imported into the database.
Installation:
1 – Upload all the files.
2 – Edit the file “class/db.class.php” and change the following variables:
$host = ‘Database host’;
$user = ‘Database user’;
$password = ‘Database user password’;
$db = ‘Database name’;
3 – Import the “table.txt” file into your database.
4 – Go to the ‘register.php’ page on your site: “www.seusite.com.br/cadastrar.php” and make the first registration
who will be considered an administrator.
5 – Done!