MW Login v1.0
THERE IS A NEWER VERSION:
http://blog.masterdaweb.com/?s=mw+login
Download: MW Login v1
Produced by: Lucas Viana Dias Carvalho
Website: www.masterdaweb.com / www.gaming-brasil.com
Email: [email protected] / [email protected]
The script was made in PHP/MySQL and with simple HTML and CSS. How I started studying PHP and MySQL a few weeks ago
and on your own, there are bound to be points in the script that need to be improved, not least in terms of its organization,
so sharing knowledge is never too much, any help in improving the script will be welcome and with due
credits put in your nextrelease.
Functions:
– Login and user registration.
– Page protection with <?php include(‘configuracao.php’); ?>
– Upload a photo for the registered user.
– Administrative panel with user display and function to edit or delete users.
– Page for users to update their registration, change their password, email or photo.
– Page for displaying individual user profiles.
– Function show_users() which displays the registered users, one per line,
just insert <?php show_users(); ?> where you want it to be displayed.
Archives:
Admin.php – Administrative panel.
change_data.php – Allows the administrator to change user registrations.
cadastro.php – User registration page.
login.php – User login page.
configuracao.php – Script configuration page.
index.php – Sample page of protected content.
my_data.php – Allows the user to change their registration.
profile.php – Displays user profiles.
protect.php – Protects your pages by forcing visitors to log in or register.
styles.css – Script style page.
table.txt – MySQL table to be imported into the database.
Installation:
1 – Upload all the files except “table.txt”.
2 – Edit the “configuration.php” file and change the following variables:
$host = ‘Database host’;
$username_db = ‘Database user’;
$db_password = ‘Database user password’;
$bank = ‘Database name’;
$folder = ‘Full server path or directory to the script’s “Files” folder’;
for example: ‘/home/masterda/public_html/files/’
3 – Import the “table.txt” file into your database.
4 – Go to the ‘registration.php’ page on your site: “www.seusite.com.br/cadastro.php” and make the first registration which will be considered as administrator.
5 – Done!