Google Community
Latest Forums Rules Resources
Custom Search

Go Back   Google Community > Webmaster Forums > Web Design, Coding & Programming Forum

GoogleCommunity Sponsor
Cirtex Hosting
Use coupon "forum" for 50% Off!

Reply
 
LinkBack Thread Tools Display Modes
Old 06-04-2005, 10:15 AM   #1 (permalink)
Noogle
 
Join Date: Jun 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
xxzzangxx
Send a message via AIM to xxzzangxx Send a message via MSN to xxzzangxx
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
xxzzangxx is offline   Reply With Quote
 
Sponsored Links
Old 07-24-2005, 07:48 PM   #2 (permalink)
Noogle
 
Join Date: Jul 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
killerpants
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
killerpants is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I need a PHP with mysql site jetbrains Web Hosting Forum 9 09-27-2006 07:51 AM
Looking for PHP and MySQL Coders? bradlee Web Design, Coding & Programming Forum 0 09-03-2006 12:18 AM
Anyone know phpBB and MySQL? intelliot Books and Google Book Search 3 02-23-2006 07:21 AM
MySQL hosting Orpheus Web Hosting Forum 3 11-15-2005 05:00 AM
MySQL Problem RatPat GC Announcements 7 05-29-2005 10:30 PM


All times are GMT -8. The time now is 02:37 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004–2007 Google Community