|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Church members login
Our church website needs a registration and login pages. As we dont have any web designer members we request your assistance to make these pages. An SQL database called "Members" is made. The information on the Registration page is : --
1) Username (unique) 2) Password 3) First Name 4) Last Name 5) E-mail 6) Sex 7) Age 8) Address 9) Prayer Group We will appreciate if someone can give us a hand. Please mail me if you need more information. Abraj. |
|
#2
|
|||
|
|||
|
AFAIK, MS Access is used more than an MySQL datasbase in ASP
If you wanna stick with MySQL, I'd advise PHP - otherwise, let us know! Conor |
|
#3
|
|||
|
|||
|
Quote:
Login code can be as simple as this (ASP): Code:
' SQL Connection Code
' SQL Statement: SELECT * FROM members WHERE username ='" & Request.Form("username") & "' AND password ='" & Request.Form("password") & "'"
If rsTemp.EOF = True Then
Response.Write "Your username or password is not correct."
Else
Response.Write "You're logged in"
' Write a session or something
End If
You could use that.. but someone could easily hack it if you don't do proper checks for like a single quote.. If you're not a programmer, I'd recommend hiring someone. |
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > Church members login |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|