Google Community Chat
 
Need help with php/mysql for accounts

You're visiting Google Community as a guest.
In order to post, you'll need to register and log in.

(If you were registered and logged in, these advertisements wouldn't be here)
Post new topic   Reply to topic    Google Community Forum Index // Web Design, Coding & Programming Forum
   
Author Message
xxzzangxx
Noogle
Noogle


Joined: 04 Jun 2005

141.25 GC$

Items

PostPosted: Sat Jun 04, 2005 10:15 am    Post subject: Need help with php/mysql for accounts Reply with quote
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
View user's profile Send private message AIM Address MSN Messenger
killerpants
Noogle
Noogle


Joined: 24 Jul 2005

730.00 GC$

Items

PostPosted: Sun Jul 24, 2005 7:48 pm    Post subject: here's some help! Reply with quote
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
View user's profile Send private message
Sponsored Links
Posted: 5 Dec 2008 10:58 am    Post subject: Advertisements
Back to top
Post new topic   Reply to topic    Google Community Forum Index // Web Design, Coding & Programming Forum All times are GMT - 8 Hours
Page 1 of 1


 
Jump to:  
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

© 2005-2006 Google Community

Powered by phpBB

Privacy Policy | Contact Us

Powered by Google Search blog

This website is not affiliated in any way with Google, Inc.
Google™ is a registered trademark of Google, Inc.