AddThis

Php Login Script Tutorial

Hello;

In this tutorial I'll show you how to create User Authentication and Dynamic Admin Panel.So let's get started.First you need to do is create a folder.And you must have to save all files in this folder that we'll work on.

Or Download it From WEB,Free Script.

Downlaod

1) First You have to open phpmyadmin and create a database.After that copy and paste following code to create table in that database.


CREATE TABLE adminpanel
(
user_id int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY(user_ID),
Username varchar(99) NOT NULL,
Password varchar(99) NOT NULL,
Email varchar(99) NOT NULL
)


2)Now Create config.inc.php,and enter the following codes.Change Hostname,Userame and password with yours.




3) Now let's Create index.php where we'll provide link to our Login and Register Pages.


< ?php
require_once('config.inc.php');
?>
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



Welcome to Index Page








Welcome To Index Page




Login Page




Registration Page




Forgot Password?




Powered by Your Site










4) Now we need Register page to where user can register.So create register.php .







Welcome to Login Page







Welcome To Login Page



Back To Index






in reference to:

"Php Login Script Tutorial"
- php login tutorial - Google Search (view on Google Sidewiki)

Post a Comment

0 Comments