![]() |
|
#1
|
|||
|
|||
Unique password and usernameHello! I'm relitvily new to php and mysql so I have a lot of questions. I know how to make a very simple form that you can insert data that goes into tables and can be displayed. In fact I made a cool little guestbook. I can also update and delete data, but that's about all I can do.
I want to make a registeration and login/logout system that checks for a Unique password and username so there are no duplicates. It would proboly be best if someone could redirect me to a tutor site that covers exactly this because I can't find any. |
|
#2
|
||||
|
||||
|
Try searching for a MYSQL tutorial to learn how to use the database. Once you learn how the database works it will be easy to do what you need. As for not finding any, in one search on google I found more than I can count. Try again.
__________________
Age is unimportant -- except in cheese |
|
#3
|
|||
|
|||
|
it's not that I can't use a database, it's that I can't authenticate anything. You didn't give me any help as to how I can make a form registration/log in/log out program at all.
|
|
#4
|
||||
|
||||
|
Quote:
Hello Snapple. It just so happens we have available a session password protection script on our forum: Password Protect web pages / sites using PHP and MySQL In case that seems to complex, the simplest thing you can look at for starters is this User Authentication Tutorial. After you got the hang of that, you can advance to this and this. Post any other questions you may have here. Good luck! Best regards, Lucian __________________
Please read these Guidelines before posting on the forum "A person who never made a mistake never tried anything new." Einstein |
|
#5
|
||||
|
||||
|
Quote:
Sorry about that. I wasn't questioning whether you can or can't use the database from a beginner standpoint. I was giving you a suggestion that you may not know enough about using a database yet for authentication, so look for tutorials to help you learn more, as LuciWiz also suggested with Quote:
__________________
Age is unimportant -- except in cheese |
|
#6
|
|||
|
|||
|
Quote:
Acutally I didn't search under that term. I wasn't sure what term to search for. Thank you. |
|
#7
|
|||
|
|||
|
Quote:
Okay good news! I understand and can do everything in the links you gave me except the script that this site provides. I get stuck here.. $result = mysql_query( $sql, $conn ); I have it as... $result = mysql_query($sql); It says there is a phase error either way I do it. Besides that I can now create a registeration, login, logout, and any other type of page I need for the program. Thank you VERY very much for this. It's now 6:08 am so I'm going to go to bed. |
Recent GIDBlog
Meeting the populace by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help wit my source code compiler errors | Krandygrl00 | C++ Forum | 1 | 06-Jun-2005 08:14 |
| username and passwords | Mjkramer21 | Web Design Forum | 1 | 21-May-2004 05:25 |
| password protection | doria | Web Design Forum | 2 | 21-Apr-2004 06:01 |
| Hide password | skyloon | MySQL / PHP Forum | 2 | 08-Jul-2003 08:51 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The