Jump to content

Help with user access setup


INeedAGig

Recommended Posts

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! :)

Link to comment
https://forums.phpfreaks.com/topic/223783-help-with-user-access-setup/
Share on other sites

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/

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 ?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.