INeedAGig Posted January 8, 2011 Share Posted January 8, 2011 Okay, I am going to try to explain this the best I can, I appreciate and thank you for your help in advance! Okay, this is what I am wanting to do. I want to create a user area on my website. I don't need a common page that every user see's but each user to have there own unique page that they are brought to once they log-in, where they will have there own content that I will change and update often. As for the usernames and passwords, I will be creating these when needed and giving them to the corresponding user, so I am not in need of a registration option. I am needing assistance on how to setup the MySQL database and the PHP coding for this. Remember, I am going to need to be able to add new users w/ passwords when needed. Thanks for your help! Quote Link to comment Share on other sites More sharing options...
Zurev Posted January 8, 2011 Share Posted January 8, 2011 Okay, I am going to try to explain this the best I can, I appreciate and thank you for your help in advance! Okay, this is what I am wanting to do. I want to create a user area on my website. I don't need a common page that every user see's but each user to have there own unique page that they are brought to once they log-in, where they will have there own content that I will change and update often. As for the usernames and passwords, I will be creating these when needed and giving them to the corresponding user, so I am not in need of a registration option. I am needing assistance on how to setup the MySQL database and the PHP coding for this. Remember, I am going to need to be able to add new users w/ passwords when needed. Thanks for your help! It would probably be a lot easier for both if you had a registration option, either way there are tons of places to get you started on your own user system out there. No ones going to code it for you! Some resources: http://www.evolt.org/node/60384 http://www.tutorialized.com/view/tutorial/Complete-user-membership-system-with-self-activation-and-more/64392 http://www.ineedtutorials.com/code/php/complete-advanced-login-member-system-php-tutorial I personally would recommend: http://net.tutsplus.com/tutorials/php/user-membership-with-php/ Quote Link to comment Share on other sites More sharing options...
inversesoft123 Posted January 8, 2011 Share Posted January 8, 2011 You can load different contents on same page when user logs in with his specific user name and password. however if you are searching to give a physical path to your users (a static html / php fle per user) then when user logs in generated a random key or word or password with combination of upper and lower case characters or symbols and encrypt it with md5 we call it as tokens then add this corresponding token into the database and pass user to targeted file by assigning token and then by using GET method verify users token with whatever that is enter into the database. another option is setting cookies to the database. but why to do such complex stuff ? you don't you load different content on same page by using advantages of database system ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.