I am making my own user managment system for my site, and its applications, and I have 3 qustions...
1. I know how to make a database login system (learned from looking at web wiz's ofcoures). I also know how to add cookies to it... But how do I validate them?
The problem is, anyone can change there cookie to say my name and pretend to be me.
2. How can I make multiple user levels?
My idea so far is to make a new feild (both in the db and the cookie) that would have a randomly selected number (EX: 123 for admins, 357 for moderators, 767 for users). Then that would be validated agensts the username, (in the same way as above).
Would this work?
3. How can I display profile information onto things (such as username, locations, interests on a forum post [note:general example]).
Thanks for any help you can give me.