| |
xxzzangxx Noogle

Joined: 04 Jun 2005
141.25 GC$
Items
|
Posted: Sat Jun 04, 2005 10:15 am Post subject: Need help with php/mysql for accounts |
|
|
|
| Hi, i am currently new to php and mysql, i was wondering what is the correct way to form an account and password system. I would want them to be able to make accounts, and then log in to the accounts after they make it. Also what are the best security stuff i can use for this system. Thanks |
|
| Back to top |
|
|
killerpants Noogle

Joined: 24 Jul 2005
730.00 GC$
Items
|
Posted: Sun Jul 24, 2005 7:48 pm Post subject: here's some help! |
|
|
|
i'm assuming you'd like to have your users be able to do this from a web-based sort of interface?
anyway, what i would do is go to the mysql machine and make a new user with grant option on whatever database something like
| Code: | | GRANT SELECT,INSERT ON database.usertable to 'usermaker' identified by 'password'; |
where database is the name of the database where your user information will be stored, and usertable is the table where individual user data are stored.
this table would include columns for username, encrypted password, other info
the form where users enter their information would collect user info, validate whatever it can client side, then pass it to a PHP app that would validate server side data (duplicate users, etc) and then add the new user to the database.
i'm not familiar with PHP, so no dice there, sorry |
|
| Back to top |
|
|
Sponsored Links
|
Posted: 5 Dec 2008 10:58 am Post subject: Advertisements |
|
|
|
|
|
|
| Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Host your free forums with Invision Plus.net forum web hosting with your own subdomain.
alexisBlue v1.2 // Theme Created By: Andrew Charron // Icons in Part By: Travis Carden
|
|
|
|
|