|
||||
how to create member database...
Anyone here know how..to make members database..where they can log in and register in a site
__________________
http://www.firefox.com/title.gif |
|
|||
First you need to create a table with two columns:
1. username varchar(20) 2. password varchar(32) In your registration page, create a form for three fields: 1. username 2. password 3. confirm password If everything is ok when the user post the form, insert a record into the table with the username and md5 hash of the password. Use md5 because it is not good to keep clear text password in the database, but do bear in mind that md5 is one way hashing, there is no way to retrieve the password after that. In your login page, create a form with two fields: 1. username 2. password If everything is ok when the user post the form, query the table to see if there is a record with the username and md5 of the password. If there is, the username and password is valid. Create a session value to tag the user. In your protected/private pages, check for the session tag. If it is not present, the user have not logged in yet. Divert the user to the login page. If the tag is present allow them to view the page... ![]() |
|
||||
green bean..that is more sumthing like what i want..
the prob is i dont understand... im not a coder thats d prob...
__________________
http://www.firefox.com/title.gif |
|
||||
u can search at.. www.hotscripts.com on ph section..
use i.e = "login script" or something like that. firstly, build from scratch, modified sana, modified sini.. slow slow u code it by yourself.. the u'll become a php phreak.. muahahaha.. slow slow.. man man, later u'll gain more experience and walaaa.. u now a php coder. ![]() |
|
||||
dia dah ada www.saranx.com larrrr
and also use a php script ![]() maybe just.. she wanna do something by itself.. ![]() |
|
||||
ermmmhey guys....saranx.com is just running on cms..so i dont do any coding job much....
yeah..i know how to create mysql databases.... by the way mysticmind im not a girl ![]()
__________________
http://www.firefox.com/title.gif |
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New Member | Lee Peng | Member Introductions | 2 | 11-01-2007 03:15 PM |
| Hello.....tengah cari new member..saper2 nk member ngan saya | adiniel17 | Member Introductions | 1 | 23-11-2006 09:48 PM |
| Hi..New Member of WMF | sallehesa | Member Introductions | 7 | 10-10-2006 01:25 PM |
| leo member | KKHOSTING | Mamak Stall | 1 | 19-08-2004 12:00 PM |
| OOP dan Database | kidino | Website Programming | 0 | 07-10-2002 06:25 PM |
All times are GMT +8. The time now is 05:28 AM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.
















Linear Mode

