I want to know how to create a registration page and login page ... any tutorials about this and i need some complete web templates too(not just home page)... can any one help me.....any ref plz
vinomashwin
0
Newbie Poster
Recommended Answers
Jump to PostYou need a server-side script.
Jump to PostSimple PHP login:
Create a database (mysqladmin)
Name the table "dbUsers." It will need 4 fields:
Name Type Addition
id int(10) Primary Key, AUTO_INCREMENT
username varchar(16) Unique
password char(16)
email varchar(25)
Create a new file and name it dbConfig.php This will file will connect to the …
Jump to PostOh, to test your php, you'll need a server. I sugguest working on localhost. Lots of ways to do this. Easyphp is the simplest to setup. Place all files in the installation directory/publicHTML.
Jump to PostWith the password field. Change the type to varchar(25)
As for requesting passwords.
Yes. It can be done.
Ask the user to enter their email address.
select password from your_db where email_address = 'their_address'
Use the mail() function to send the password to the email address.SQL:
…
Jump to PostDo not use these scripts. They are very old and use deprecated functions and unsafe hashing routines. If you want tips about registration / login scripts for PHP, please search this site (in web development), Google (or other search engines), or post a new question in the Web Development forum, …
All 96 Replies
MidiMagic
579
Nearly a Senior Poster
macneato
29
Posting Pro in Training
sonalisekh
commented:
thanks its realy helpfull
+0
macneato
29
Posting Pro in Training
ViroGen
0
Newbie Poster
macneato
29
Posting Pro in Training
ViroGen
0
Newbie Poster
ViroGen
0
Newbie Poster
cashu
0
Newbie Poster
prakruti
0
Newbie Poster
ViroGen
0
Newbie Poster
ViroGen
0
Newbie Poster
ViroGen
0
Newbie Poster
ViroGen
0
Newbie Poster
ViroGen
0
Newbie Poster
ViroGen
0
Newbie Poster
ViroGen
0
Newbie Poster
ViroGen
0
Newbie Poster
MidiMagic
579
Nearly a Senior Poster
ViroGen
0
Newbie Poster
macneato
29
Posting Pro in Training
ithelp
757
Posting Virtuoso
Banned
macneato
29
Posting Pro in Training
dottomm
-2
Junior Poster in Training
jrb4562
0
Newbie Poster
ViroGen
0
Newbie Poster
ViroGen
0
Newbie Poster
Secret-
0
Newbie Poster
kanaku
60
Posting Whiz
Secret-
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.