Hi, I'm currently developing a website and wish to implement it so that users have to "login" to obtain extra features on the website.
For an amateur PHP coder like myself, is it safe to implement this in PHP using sessions and MySQL to verify and to store the data, by this I mean storing username and passwords and profile information and using a series of forms. Would this be sufficient without getting into SSL and other security expenses?
Thanks for your help!
Simple Login System
Moderator: General Moderators
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Hi Everah, it will be a personal web page. So like the forums here... will only store the details we needed to register on this forum. I gather this would be more than adequate for the job? =] Also, is it better using PHP built in session support or cookies??Everah wrote:What determines the answer for your question is the content that will be in the database. If there is anything personally identifiable, potential financial or something that could result in your getting sued, use SSL. If it is just for testing, go for it.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Thank You!Everah wrote:Sessions are going to try to use cookies anyway, so you may as well use sessions. Plus it will be another learning process for you (so as to make you a gooder developer).
PS I don't really speak like an idiot. Well, other than here I don't anyway.