Step By Step: Login System

free web hosting
Free Web Hosting > Computers & Tech > Programming > Programming General

Step By Step: Login System

Impious
Making a simple login system. (Step by step)

Creating the configuration file:


1st Step - Open the notepad. After puting the tag "<?php"(without quotes) write this:


CODE
$server = 'PUT HERE THE URL OF YOUR MYSQL SERVER';
$user = 'USER NAME OF YOUR MYSQL ACCOUNT';
$pass = 'PASSWORD OF YOUR MYSQL ACCOUNT';
$link = mysql_connect($server,$user,$pass);
$base = 'DATABASE NAME';
$table = 'TABLE NAME';


2nd Step - close the php code with: "?>"
3rd Step - save the file with the name "config.php"


Creating the database installation file:

1st Step - Open the notepad. After puting the tag "<?php"(without quotes) write this:

CODE
/* 01 */ include ("config.php");
/* 02 */ mysql_select_db($base,$link);
/* 03 */ $install = mysql_query("
/* 04 */ CREATE TABLE $table (
/* 05 */   id int(255) NOT NULL auto_increment,
/* 06 */   login varchar(200) NOT NULL default '',
/* 07 */   password varchar(200) NOT NULL default '',
/* 08 */   email varchar(200) NOT NULL default '',
/* 09 */   date DATE NOT NULL default '0000-00-00',
/* 10 */   time TIME NOT NULL default '00:00:00',
/* 11 */   PRIMARY KEY (id)
/* 12 */ ) TYPE=MyISAM;") or die("Wrong to create: $table <br>".mysql_error());
/* 13 */ $insertTest=mysql_query("INSERT INTO $table (id,login,password,email,date,time) VALUES  
('','test','dGVzdGU=','t-traders@hotmail.com','2007/07/05','14:04:23')");
if($install)
{
/* 14 */ print("Instalation complete! Destroy the file install.php to the system run perfectly!");
}
else
{
/* 15 */ print("Error! Verify if the file config.php is configured!");
}
?>

Explanation
line____________explanation
01 request the configuration file(config.php)
02 mysql command: open the database (DATABASE NAME, mysql_connect('YOUR MYSQL SERVER','YOUR MYSQL ACCOUNT NAME','YOUR MYSQL PASSWORD');
03 all variables starts with '$' on php, thats a example of one($install)
04 mysql command: create a table on mysql database with the name 'TABLE NAME' ($table)
05 mysql command: insert a field with the name: "id", this is using the auto_increment option, this auto complete the field when added any base
06 mysql command: insert a login field
07 mysql command: insert a password field
08 mysql command: insert a email field
09 mysql command: insert a date field with '0000-00-00' as default
10 mysql command: insert a time field with '00:00:00' as default
11 mysql command: set "id' as primary key of the table
12 mysql command: if have anything wrong and it cant add a table to the database this write the msg with the error
13 mysql command: insert test bases
14 if the script runs OK the msg "Instalation complete! Destroy the file install.php to the system run perfectly!" is show
15 if this not work shows the msg "Error! Verify if the file config.php is configured!"

2nd Step - Save the file with the name: install.php
3rd Step - Upload the files: config.php and install.php . Execute the install.php.
4th Step - Delete the file "install.php".


Creating the Registration Form:
1st Step - Create a table like this:


$m is the varible that shows the error message like: "Invalid E-mail"
$loginvalue is the value of the gap "login"(its for when anything is wrong the user dont have to write all gaps again
$emailvalue is like the loginvalue
$code is a random code antibots
the table contains a login gap; a password gap; an e-mail gap and an antibot gap

CODE
/* 01 */<table style="text-align: left; width: 100%;" border="0" cellpadding="0" cellspacing="0">
/* 02 */    <form action="register.php" method="post">
    <tbody>
/* 03 */      <tr>
/* 04 */         <font color="#ff0000" size="2"><strong><?= $m ?></strong></font>
/* 05 */      </tr>
      <tr>
        <td style="width: 60px;">Login:</td>
/* 06 */        <td style="width: 649px;"><input name="login" type="text" value="<?= $loginvalue ?>"></td>
      </tr>
      <tr>
        <td style="width: 60px;">Password:</td>
/* 07 */        <td style="width: 649px;"><input name="password" type="password"></td>
      </tr>
      <tr>
        <td style="width: 60px;">Email:</td>
/* 08 */        <td style="width: 649px;"><input name="email" type="text" value="<?= $emailvalue ?>"></td>
      </tr>
      <tr>
        <td style="width: 60px;">Code:</td>
        <td style="width: 649px;">  
/* 09 */        <font color="#6633cc" face="Tahoma" size="2"><strong><?= $code ?></strong></font><font color="#6633cc" face="Tahoma" size="2">
      <input name="code" size="4" maxlength="4" type="text"></font></td>
      </tr>
      <tr>
        <td style="width: 60px;"> <input name="correct_code" value="<?= $code ?>" type="hidden">
/* 10 */        <input name="Submit" value="Submit!" type="submit"></td>
        <td style="width: 649px;"></td>
      </tr>
    </tbody>
/* 11 */  </form>
/* 12 */</table>


Explanation
line____________explanation
01 open a table with this characteristics: align text on left, width size = 100% of the page, none border, cellpadding or cellspacing
02 open a form thats send informations to register.php with the post method
03 <tr> represents rows
04 show the error msg, if exists
05 close this row
06 <td> represents cols, on this col have a login gap with text type
07 password gap, password type is those that transform all character in **************
08 email gap
09 shows the generated random code(antibot system)
10 submit the of information of this gaps to register.php
11 close this form
12 close this table


2nd Step - placing the table on php code:
Create a file and rename to index.php. Place this:


CODE
<?php
srand((double)microtime()*1000000);
/* 01 */$code=rand(1000, 5000);
/* 02 */$msg = $_GET['msg'];
/* 03 */$m=base64_decode($msg);
/* 04 */$evalue = $_GET['evalue'];
/* 05 */$lvalue = $_GET['lvalue'];
/* 06 */$emailvalue=base64_decode($evalue);  
/* 07 */$loginvalue=base64_decode($lvalue);

?>
/* 08 */  <table style="text-align: left; width: 100%;" border="0" cellpadding="0" cellspacing="0">
/* 09 */    <form action="register.php" method="post">
    <tbody>
/* 10 */      <tr>
/* 11 */         <font color="#ff0000" size="2"><strong><?= $m ?></strong></font>
/* 12 */      </tr>
      <tr>
/* 13 */        <td style="width: 60px;">Login:</td>
/* 14 */        <td style="width: 649px;"><input name="login" type="text" value="<?= $loginvalue ?>"></td>
      </tr>
      <tr>
/* 15 */        <td style="width: 60px;">Password:</td>
/* 16 */        <td style="width: 649px;"><input name="password" type="password"></td>
      </tr>
      <tr>
/* 17 */        <td style="width: 60px;">Email:</td>
/* 18 */        <td style="width: 649px;"><input name="email"
type="text" value="<?= $emailvalue ?>"></td>
      </tr>
      <tr>
/* 19 */        <td style="width: 60px;">Code:</td>
        <td style="width: 649px;">  
/* 20 */        <font color="#6633cc" face="Tahoma" size="2"><strong><?= $code ?></strong></font><font color="#6633cc" face="Tahoma" size="2">
/* 21 */      <input name="code" size="4" maxlength="4" type="text"></font></td>
      </tr>
      <tr>
/* 22 */        <td style="width: 60px;"> <input name="correct_code" value="<?= $code ?>" type="hidden">
/* 23 */        <input name="Submit" value="Submit!" type="submit"></td>
        <td style="width: 649px;"></td>
      </tr>
    </tbody>
/* 24 */  </form>
/* 25 */</table>

Explanation
line____________explanation
01 defines a variable with a code randomized between 1000 and 5000. thats for the antibot system
02 $_GET[] is a sintax that get a information in GET method, thats spefied by the clasps inside. in this example this gets the information sent by 'msg'.
03 base64_decode() decodes values encodeds using base64[to encode use base64_encode()] this decodes the information sent by form with GET method, got by $msg
04 $_GET[] is a sintax that get a information in GET method, thats spefied by the clasps inside. in this example this gets the information sent by 'evalue'.
05 $_GET[] is a sintax that get a information in GET method, thats spefied by the clasps inside. in this example this gets the information sent by 'lvalue'.
06 base64_decode() decodes values encodeds using base64[to encode use base64_encode()] this decodes the information sent by form with GET method, got by $evalue
07 base64_decode() decodes values encodeds using base64[to encode use base64_encode()] this decodes the information sent by form with GET method, got by $lvalue
08 open a table with this characteristics: align text on left, width size = 100% of the page, none border, cellpadding or cellspacing
09 open a form thats send informations to register.php with the post method
10 <tr> represents rows
11 show the error msg, if exists
12 close this row
13 thats the label(login:) for the input <input name="login" type="text" value="<?= $loginvalue ?>">
14 login gap.. the value is to when have any error this returns to this forms and show the information previously typed.. thir shows the login typed.. got by $_GET['lvalue'] and decoded by $loginvalue=base64_decode($lvalue); (7th line)
15 "password:" label for the input: <input name="password" type="password">
16 password gaps (with the type: password, thats transforms all characters in ***********)
17 "email:" for <input name="email" type="text" value="<?= $emailvalue ?>">
18 email gap.. the value is to when have any error this returns to this forms and show the information previously typed.. thir shows the email typed.. got by $_GET['evalue'] and decoded by $emailvalue=base64_decode($evalue); (8th line)
19 "code:" label for <?= $code ?> and <input name="code" size="4" maxlength="4" type="text">
20 shows the code randomized for antibot system.. with #6633cc color, Tahoma face and size 2
21 thats the gap to the user type the code showed before
22 sends the correct code, to compare with the code typed
23 submit gap, sends all this information typed by the user
24 close this form
25 close this table


Save this file.

3rd Step - Validating the antibot code. Create a document with the name "register.php" and place this:


CODE
<?php

$login = $_POST['login']; /* geting the login */
$password = $_POST['password']; /* geting the password */
$code = $_POST['code']; /* geting the code */
$email = $_POST['email']; /* geting the email */
$correct_code = $_POST['correct_code']; /* geting the correct code */
        
if(!empty($code)){ /* looking if the code was written */
         /* looking if the code is correct */
         if($code == $correct_code){
         $l = base64_encode($login);
         $s = base64_encode($password);
         $e = base64_encode($email);
         header("Location: register2.php?l=$l&s=$s&e=$e"); /* here the code is right and the registration is being redirecting */
         }
         else{
         $lvalue = base64_encode($login);
         $evalue = base64_encode($email);
         $m = base64_encode("Invalid Code!");        
         header("Location: index.php?msg=$m&evalue=$evalue&lvalue=$lvalue");}
}else{
$m = base64_encode("Write the code!");
$lvalue = base64_encode($login);
$evalue = base64_encode($email);
header("Location: index.php?msg=$m&evalue=$evalue&lvalue=$lvalue");
}
?>


4th Step - Filtering the informations. Create a file with the name "register2.php" and write this:

CODE
<?php
include ("config.php");
mysql_select_db($base,$link);

$e = $_GET['e'];
$l = $_GET['l'];
$s = $_GET['s'];
$email = base64_decode($e);
$login = base64_decode($l);
$password = base64_decode($s);

$pattern2 = "([0-9_A-Z_a-z])+[-_,_._>_<_~_^_/_?_°_\_|_!_¹_²_³_£_¢_¬_§_º_@_#_%_¨_&_*_+_}_*_'_]";
/* filtering characters on login */
if(ereg($pattern2,$login) == true)
{
$m = base64_encode("Login contains invalid characters!");
$lvalue = base64_encode($login);
$evalue = base64_encode($email);
header("Location: index.php?msg=$m&evalue=$evalue&lvalue=$lvalue");
exit;
}
$pattern2 = "([0-9_A-Z_a-z])+[-_,_._>_<_~_^_/_?_°_\_|_!_¹_²_³_£_¢_¬_§_º_@_#_%_¨_&_*_+_}_*_'_]";
/* filtering characters on password */
if(ereg($pattern2,$password) == true)
{
$m = base64_encode("Password contains invalid characters!");
$lvalue = base64_encode($login);
$evalue = base64_encode($email);
header("Location: index.php?msg=$m&evalue=$evalue&lvalue=$lvalue");
exit;
}
$pattern3 = "([0-9_A-Z_a-z])+[,><~^/?°\|!¹²³£¢¬§º#%¨&*+}*']";
/* filtering characters on email */
if(ereg($pattern3,$email) == true)
{
$m = base64_encode("E-mail contains invalid characters!");
$lvalue = base64_encode($login);
$evalue = base64_encode($email);
header("Location: index.php?msg=$m&evalue=$evalue&lvalue=$lvalue");
exit;
}
/* looking if e-mail is valid */
if (!(strpos($email,"@")) OR strpos($email,"@") != strrpos($email,"@"))
{
$m = base64_encode("Invalid E-mail!");
$lvalue = base64_encode($login);
$evalue = base64_encode($email);
header("Location: index.php?msg=$m&evalue=$evalue&lvalue=$lvalue");
exit;
}
/* looking if the password have more than 6 characters */
if(strlen($password) < 6)
{
$m = base64_encode("Your password must contain at least 6 characters !");
$lvalue = base64_encode($login);
$evalue = base64_encode($email);
header("Location: index.php?msg=$m&evalue=$evalue&lvalue=$lvalue");
exit;
}
/* looking if the password have more than 3 characters */
if(strlen($login) < 3)
{
$m = base64_encode("Your login must contain at least 6 characters !");
$lvalue = base64_encode($login);
$evalue = base64_encode($email);
header("Location: index.php?msg=$m&evalue=$evalue&lvalue=$lvalue");
exit;
}
$sql=mysql_query("SELECT login FROM $table WHERE login='$login'");
/* looking if the login exists */
if(mysql_num_rows($sql)>0){
$m = base64_encode("Existing user!");
$lvalue = base64_encode($login);
$evalue = base64_encode($email);
header("Location: index.php?msg=$m&evalue=$evalue&lvalue=$lvalue");
exit;
}
$sql1=mysql_query("SELECT login FROM $table WHERE email='$email'");
/* looking if the email exists */
if(mysql_num_rows($sql)>0){
$m = base64_encode("Registered email already!");
$lvalue = base64_encode($login);
$evalue = base64_encode($email);
header("Location: index.php?msg=$m&evalue=$evalue&lvalue=$lvalue");
exit;
}
else{
    $c_password1= base64_encode($password);
    $date= date("Y/m/d");
    $hour= date("H:i:s");
    
    mysql_query("
    INSERT INTO `$table` ( `id` , `login` , `password` , `email` , `date` , `time` )
    VALUES (
    '', '$login', '$c_password1', '$email', '$date', '$hour'
    )") OR die("Error at open database!");

    $m = base64_encode("Registration completed. Now you can log in!");
    header("Location: login.php?msg=$m");
    exit;
}

mysql_close($link);
?>


Creating a Login form:

1st Step: Create a file with this name: login.php, and write this:

CODE
<?php
include ("config.php");
$msg = $_GET['msg'];
$m = base64_decode("$msg");
$lvalue = $_GET['lvalue'];
$loginvalue = base64_decode("$lvalue");
$loginenc = base64_encode("login");
$passwordenc = base64_encode("password");
$login1 = @$_COOKIE['$loginenc'];
$password1 = @$_COOKIE['$passwordenc'];
$logout = base64_encode("logout");

mysql_select_db($base,$link);


$sql5 = "SELECT * FROM $table WHERE login='$login1'";
$result = mysql_query($sql5);
$row = mysql_fetch_assoc($result);
$get_login = $row['login'];
$v_password = $row['password'];
$get_password = base64_decode("$v_password");

$sql1=mysql_query("SELECT login FROM $table WHERE login='$login1'");
/* verifying if the user is already log in */
if(mysql_num_rows($sql1)>0){
if($password1 == $get_password && $get_login == $login1){

?> <center>Welcome, <?= $login1 ?><a href="login2.php?action=<?= $logout ?>"> Logout</a><br><br> put here the user page <?
exit;
}
}
/* if the user arent logged in, open the login form */
else{
?>
<table align="center" style="text-align: center;" border="0"
cellpadding="0" cellspacing="0">

<form action="login2.php?action=<?= $loginenc ?>" method="post">
  <tbody>
    <tr>
      <td colspan="2" rowspan="1"><font color="#CC0033" size="2"><strong>
         <?= $m ?><br><br></strong></td>
    </tr>
    <tr>
      <td style="width: 60px;">Login:</td>
      <td><input class=field name="login" type="text" value="<?= $loginvalue ?>"></td>
    </tr>
    <tr>
      <td style="width: 60px;">Password:</td>
      <td><input class=field name="password" type="password"></td>
    </tr>
    <tr>
      <td style="width: 60px;"></td>
      <td><input class=bottom name="Submit" value="Log in!" type="submit"></td>
    </tr>
  </tbody>
</table>
</form>

<?    
}
mysql_close($link);
?>


2nd Step: Create a file with the name: login2.php, and write this:

CODE
<?php
include ("config.php");
$get_login = $_POST['login'];
$get_password = $_POST['password'];
$get_action = $_GET['action'];
$loginenc = base64_encode("login");
$passwordenc = base64_encode("password");

mysql_select_db($base,$link);

$sql5 = "SELECT * FROM $table WHERE login='$get_login'";
$result = mysql_query($sql5);
$row = mysql_fetch_assoc($result);
$ver_login = $row['login'];
$v_password = $row['password'];
$get_password2 = base64_decode("$v_password");

/* loging out */
$logout = base64_encode("logout");
if($get_action == $logout){
setcookie('$loginenc',00);
setcookie('$passwordenc',00);
header('Location: login.php');
}

if($get_action == $loginenc){
$pattern2 = "([0-9_A-Z_a-z])+[-_,_._>_<_~_^_/_?_°_\_|_!_¹_²_³_£_¢_¬_§_º_@_#_%_¨_&_*_+_}_*_'_]";
if(ereg($pattern2,$get_login) == true || ereg($pattern2,$get_password) == true)
{
$m = base64_encode("Login ou password incorreto!");
header("Location: login.php?msg=$m");
exit;
}
/* if the password is valid to this login set a cookie with this information */
if($get_password2 == $get_password){
setcookie('$loginenc',$get_login);
setcookie('$passwordenc',$get_password);
header("Location: login.php");
exit;
}
else{
$m = base64_encode("Login ou password incorreto!");
header("Location: login.php?msg=$m");
}
}
mysql_free_result($result);
mysql_close($link);
?>


Finishing: up this files and test the system.

Sorry if anything is wrong or incomplete, this is my first tutorial.. if anything is wrong please post here and if is possible with the fix xD

Yours Impious

 

 

 


Reply

Sten
Thanks so much for this tutorial!
ill try it soon sometime, its just what i needed, to make a members system for my website!

i hope it works, after i try it ill tell u any problems i find in it!

thanks!

Reply

Jimmy89
Same here! From a quick look the code looks good, but I might have missed something! I'll try it out in a few days - when i get a moment of spare time!
-jimmy

Reply

Impious
Errors fixed:
*wrong tags
*wrong values
*wrong variables
*wrong texts
*data base errors

added attached files

Reply

Chesso
Looks pretty good to me at a first glance.

Might consider expanding it, to explain some of the code for the newbies out there, maybe some of the functions etc you use?

Or perhaps just a bit more in-depth as to what each bits and bobs do.

Reply

Impious
you're right chesso.. I already was thinking on explaining the functions, etc better..

but, in the principle this post is for more experienced people and/or for who that simply want a system, without knowing necessarily as it functions..

but, i'll do this on the next week, cause im very busy now.. wink.gif

Reply

HellFire121
Nice job anyways, even without an explanation of what things do someone that knows a bit of php/mysql can easily figure out what it is and how you got it to work. This can easily be adapted to form something better as well as giving a good example of how mysql can be used to secuerly store information.

-HellFire

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. how to make system login on php - 151.01 hr back. (1)
  2. call login system in it company - 327.20 hr back. (1)
  3. step by step functions of advertising - 350.61 hr back. (1)
  4. php 1st step - 499.27 hr back. (1)
Similar Topics

Keywords : step, step, login, system

  1. Credit System - Transfer Credits Between Members?
    (1)
  2. Creating A Php Login Script
    A thorough look at the process behind it (3)
    Hey all, after reading through a fair number of tutorials on this subject I decided to write a
    pretty detailed one myself. Apologies for those who don't like my structured layout, it's
    just the way I do things. /wink.gif" style="vertical-align:middle" emoid=";)" border="0"
    alt="wink.gif" /> Title: Creating a PHP Login Script Objective: To go through a series of basic
    steps required to create a method of user registration, login and permission management using PHP
    and MySQL. Notes: The information is designed to work fully on AstaHost's hosting plans. ....
  3. Before Unplugging A Usb Disk From An Opensuze System
    What should I do ? (9)
    I know how to read my NTFS files on my USB disk when I am connected to an OpenSuze machine. I simply
    plug the USB disk to the Linux machine, and I type "mount /dev/sdb1 /mydisk" Of course, before
    removing the disk I do "umount /mydisk". However I'm pretty sure this is not enough if I want to
    unplug the disk. Under Windows I know that I have to click the "remove hardware" icon. There is
    probably something to do under Suze Linux before unplugging a device, something like "rmdev
    /dev/sdb" ? If somebody knows the correct way to do it, can you please tell me ? Regards Yor....
  4. How To: Make A Simple Php Forum System
    (4)
    Hello, One of my first ever projects I embarked on when I began to understand PHP well was a forum
    system. I've decided to begin writing a tutorial to help people start one of their own. The code
    for this project is based on that of OakumBoard/cBoard, my own forum software which can be seen
    running at www.sonicxtremegm.co.cc Anyways, time to start off, you must run this SQL query on an
    SQL database with a name of your choice: CODE s CREATE TABLE `forums` (
      `id` int(3) NOT NULL auto_increment,   `name` varchar(80) NO....
  5. Php Login Script
    (0)
    login script click the link to get your free php login script installer just follow the
    instuctions the exe gives you and it will give you the script just place the code in the sever and
    open index.html and follow on from there. what it has: it has reg page, login protection code ect.
    it is simple to use and i think quite fun but im BORN TO BE WEIRD,you will need at least one working
    mysql data base /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif"
    /> hope you enjoy it. iknow i did from the alexmedia crew....
  6. Login Made Easy
    (0)
    i found a company a while back that does easy to use login stuff it is auth pro they do a free
    version but it only alows 10 members but they have very advanced admin area with member time out
    login log with ip address, they do paid member subsciption i used them and they were good note if
    you go for free version login page has ads....
  7. Free Login Script
    (1)
    roll up roll up get your free php login script here. it has installer, reg form,ect. see the link
    email to get the file ....
  8. Lost Blogging System?
    (1)
    This is really odd. Suddenly after Gamma server's move; I lose my Movable Type control panel
    because mt.cgi states that it can't find mt-config.cgi at all. However, both of them are
    clearly there as shown below: Help? xboxrulz....
  9. How To Make A Private Message System.
    (9)
    Hey! Today, I am going to teach you how to make a Private Message (PM) script in PHP. Before
    we start, I want to tell you what you should know, and what files we will create. Then we will
    continue with the codes, and descriptions. I would like if you learned something from this tutorial.
    If you find any errors (Even if I spell something wrong), I would like you to post it in this
    thread. What you should know: You should know HTML. Just a bit (forms, and maybe a little design
    if you would like that). You should know much about PHP and Mysql. You should know how ....
  10. How To Make An Test-based Rpg Game!
    This is a step by step tutorial of how to make a RPG test-based game (4)
    Welcome Hello this is Convictlife and i have made an RPG game and for you noobs out
    there i will be explaining Here is a breif structure of this post: 1. Getting your codes. 2.
    Getting your host. 3. Uploading your codes. 4. Configuring your codes. 5. MySQL 6. phpMyAdmin 7.
    CronJobs 8. Editing 9. Finalizing Getting Your Codes! First of all you need codes that
    will power your website. If you are a master coder (like Dabomstew) then you can code these codes
    yourself, but if you are "so-so" then you will need to get codes from somewhere. I got....
  11. How To Make A PM (Personal Message) System?
    (Should I Store The Data In A Database?) (4)
    Hey! I just wanted to know, if I want to make a PM system, should I store the PMs in a database
    or how should I do it? And if I should store them in a database, how do I do that. Because I have
    acctually no idea, if I should create 50 tables to store 50 messages /tongue.gif"
    style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> (And a little OT question
    ). How can i change the timestamp into real date?....
  12. Very Simple Login-script
    This is a very simple and secure login-script (18)
    Hi. This is my first post here. please Tell me if i do something wrong. This is a very simple and
    secure login script. I will try to add as many comments as possible, to make it easier to
    understand. Lets start with the database. Just make a new SQL file, and call it whatever you want.
    Paste this code: CODE CREATE TABLE `user` (   `id` int(4) unsigned
    NOT NULL auto_increment,   `username` varchar(32) NOT NULL,   `password`
    varchar(32) NOT NULL,   `level` int(4) default '1',   PRIM....
  13. Credit System V2.0 Online
    Free Web Hosting Credit System v2 now online! (17)
    Dear Members, I am pleased to announce that I have finished coding Credit System V2.0 and its now
    online for members to use. Instead of the old URL used for managing your free web hosting account
    (http://www.astahost.com/process), You shall now be using :- http://www.astahost.com/manage
    (Credit System v2.0 Url) The new version is :- More secure. More reliable. Easily Upgradable
    and employs Module system. Has a Much better look. Central Login. Ajax Powered. Has a Log
    System. Good number of Bugs fixes Please use it and kindly report any further sugge....
  14. Access
    Is this easy to make a login/password? (17)
    I was looking to make a site where people need to create an account, and log in to view the main
    pages. Is it easy, or do-able, to use msoft access to make a database where people are able to sign
    up with a username and password via my website?....
  15. Login System Using A Mysql Db
    How do i do this? (5)
    Hi guys, ive got a registration system that looks something like the one below: Firstname:
    Lastname: Then i have inset.php, which looks like the following: $con =
    mysql_connect("localhost","autobot","abc123"); if (!$con) { die('Could not connect:
    ' . mysql_error()); }mysql_select_db("my_db", $con);$sql="INSERT INTO person
    (username, password) VALUES ('$_POST ','$_POST ')";if
    (!mysql_query($sql,$con)) { die('Error: ' . mysql_error()); } echo "1 record
    added";mysql_close....
  16. Cracking Wireless Access Point Password?
    Is it possible to crack the system setup password on wireless routers? (22)
    Is it possible to crack the system setup password for a wireless access point - wirelessly? I
    understand how to use tools like aircrack and airsnort to crack the network password used by
    clients, but this will only grant you the client password to access the network. If there is a way
    to gain access to the system setup password of a wireless router, please explain the process to me,
    so that I can take all possible precautions to try to avoid this happening to my new wireless
    network... Thanks.....
  17. System Stops Responding
    Computer suddenly freezes while on the Internet (10)
    I am using a Pentium 4 computer (256 MB RAM) with windows 2000 service pack 4 installed in it. While
    using Internet through a cable braodband modem, the computer sometimes freezes completely. It no
    more responds to any keystroke or any left/ right mouse click. I then have to restart the computer
    to be able to use it again. I have noticed it happened once or twice when I entered some text in the
    Google search box and pressed the enter key. Has anybody experienced this problem and know how to
    resolve this? Has it got anything to do with the virtual memory of the computer? ....
  18. Which Operating System Is Better?
    Its a poll (41)
    Well Vote =]....
  19. Preferred Forum System
    So many choices...it's overwhelming (22)
    I am trying to decide which forum software I should install for my site. I need something free
    (obviously) and I need a good choice. I think phpBB works great but I am also interested in trying
    IceBB. Simple Machines Forum is time-consuming to configure and I don't like Invision Power
    Board (and that isn't free). I have tried testing out the forums at OpenSourceCMS but there
    were way too many choices and the forums were just completely overwhelming to try them all out.
    Getting into Portals, Blogs and Image Galleries and you'll wonder if you will be able to....
  20. What Is Unicode System
    (1)
    Unicode systems - What it is? Unicode provides a unique number for each characters independant of
    the language, platform and program .Computers store everything, the letters and other characters as
    numbers, so some encoding system need to be adapted to convert different characters to numbers. Now
    in absence of any general encoding system, there exist a lots of different and conflicting encoding
    system. Like one may assign the same number to different keyboard characters or the same keyboard
    character may be assigned different numbers in different coding systems. Why....
  21. CuteNews: PHP-based Blog System - No MySQL
    (10)
    I don't know if you guys have heard about CuteNews, but I think it's an awesome blogging
    system. If you don't know where to get it or how to set it up, here is a quick run-down.
    Download the zip file (virus free) from http://www.mysharebox.com/dl.php?key=8276639 . 1) Unzip
    the file. 2) Make a folder titled "cutenews". 3) Upload the contents of the cutenews folder into the
    one you've just created. 4) CHMOD the file index.php to 777. 5) CHMOD the folder "data" to 777.
    6) Then CHMOD all the files and folders inside of "data" to 777. 7) Go to http://YO....
  22. Www.modthesims2.com - Sims 2 Mods Site
    I need to get it out of my system! (8)
    Okay, MTS2 is one of the BEST sites to get awesome downloads for The Sims 2. I love that site so
    much! And they have this cool forum where you can request people to create downloads for you if
    you aren't very good at creating downloads! And some people post pictures of themselves,
    that way people can sim them! Some of the people that post their pictures are weird looking.
    Anyway, I just want to know who has been to MTS2 and loves it!? This sounds like spam, but I
    just want to know who loves that site?! /biggrin.gif' border='0' style='ver....
  23. Ncaa Football Bcs System Not Broken!
    Human polls a scourge (2)
    After a couple of season of "split championships" (different No. 1 ranked teams in the AP poll and
    USA Today Coaches' poll) people have been complaining that the Bowl Championship Series
    doesn't work and this led to the AP poll pulling out of it. These people are plain wrong.
    There are some problems with the BCS but its not broken. The reason that many people say this is
    because there are more than three undefeated teams and one gets left out of the championship.
    Unfortunately the goal of BCS was never to make sure all undefeated teams have a chance to play f....
  24. Help Needed To Create Login Script With Perl/cgi
    Need Script (21)
    Have a format in mind and have a good idea how it works. So here what I need: step 1::: person must
    register: create handle // enter password // enter password // enter email : it then takes the
    person to acsepted page or reject per reason page. step 2::: login page: enter handle // enter
    password : takes them on it to the site of their control pages for each handle controls their own
    pages yet all pages interacts with the others. or bad password re login page. Have the page
    designed already have the script in html lang but one can create a password on the html page but....
  25. Can't Login.
    (3)
    Everytime I failed to log in. And I tried to link my host http://host.4av1.net , itseems no webpage
    there. Could you check it for me please. Thank you.....
  26. System Sounds Not Working
    ... :( (9)
    I don't know when this started to happen, probably not caused by me though, but my System Sounds
    don't work anymore. You know how when you change your volume in Windows, it makes a beeping
    sound to tell you how loud or quiet you've turned your volume into? Well, it doesn't make
    that sound anymore. But, I can still listen to music and sounds of my own or in games, etc., just
    not "Windows generated". I think the problem is some wrong setting in the Sound and Audio Devices
    Properties of the Control Panel. I am using the Windows Default sound scheme, selecte....
  27. Howto: Change Graphical Login To Text
    and vice-versa ..in Redhat & Fedora Core (3)
    Hi all, This article shows you how to switch between Graphical and Text based Login Screens that
    are made available to you when you boot into either Redhat or Fedora Core Systems. This will work
    for Redhat 9.x and both Fedora Core 2 & 3. I've two servers in my office - one of Fedora
    Core 2 and one on Redhat Enterprise Linux AS 3. I'd set the Redhat Server to boot into text
    login but missed out that option in Fedora. As a result it always started off in a X-Windows based
    login - which was pretty inconvenient. Linux users will know for sure how a GUI can ....
  28. PHP: Writing A Generic Login And Register Script
    (14)
    Now there are basically 3 functions that a user management system provides: login, register, and
    protection. A user management system can do more than this but that is all that this tutorial will
    be covering. I will try to explain what I am doing as I go along but to fully understand what is
    happening you should have a basic knowledge of PHP, SQL, and HTML. This tutorial assumes you are
    using MySQL, adjust accordingly for a different DBMS. First off lets define the database table
    where our users will be stored. Using phpMyAdmin run this statement to create our table....
  29. How Do I Make A RPG Battle System?
    final fantasy style (14)
    I use flash mx, but I was wondering how to/what language I would need to make a final fantasy-like
    turn based battle system for a rpg I'm making. "So, any help you could give us would be...
    Helpful?" MP&THG....
  30. Using system date in java... How?
    (4)
    How do u use system date in java? I only know how in jsp. In jsp, u need to do the code below to get
    the sysdate String date = DateFormat.getInstance().format(new Date()); and you will be able to
    get the system date which has the format 6/6/04 7:19 AM ______________________ iv tried to do this
    in java import java.util.Date;public String getSysDate() { String date = "";
    String date = DateFormat.getInstance().format(new Date()); return date; }
    there's an error on the variable DateFormat., it cannot resolve symbol. does ....

    1. Looking for step, step, login, system

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for step, step, login, system
Similar
Credit System - Transfer Credits Between Members?
Creating A Php Login Script - A thorough look at the process behind it
Before Unplugging A Usb Disk From An Opensuze System - What should I do ?
How To: Make A Simple Php Forum System
Php Login Script
Login Made Easy
Free Login Script
Lost Blogging System?
How To Make A Private Message System.
How To Make An Test-based Rpg Game! - This is a step by step tutorial of how to make a RPG test-based game
How To Make A PM (Personal Message) System? - (Should I Store The Data In A Database?)
Very Simple Login-script - This is a very simple and secure login-script
Credit System V2.0 Online - Free Web Hosting Credit System v2 now online!
Access - Is this easy to make a login/password?
Login System Using A Mysql Db - How do i do this?
Cracking Wireless Access Point Password? - Is it possible to crack the system setup password on wireless routers?
System Stops Responding - Computer suddenly freezes while on the Internet
Which Operating System Is Better? - Its a poll
Preferred Forum System - So many choices...it's overwhelming
What Is Unicode System
CuteNews: PHP-based Blog System - No MySQL
Www.modthesims2.com - Sims 2 Mods Site - I need to get it out of my system!
Ncaa Football Bcs System Not Broken! - Human polls a scourge
Help Needed To Create Login Script With Perl/cgi - Need Script
Can't Login.
System Sounds Not Working - ... :(
Howto: Change Graphical Login To Text - and vice-versa ..in Redhat & Fedora Core
PHP: Writing A Generic Login And Register Script
How Do I Make A RPG Battle System? - final fantasy style
Using system date in java... How?
advertisement




Step By Step: Login System



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE