Jump to content

auth help (oop)


Destramic

Recommended Posts

I’m making a website where there will be an administration panel if having access as an admin and a clan login which will have different options and access’.

 

I want to make an auth in OOP but I’m trying to find the best way of doing it?

 

Both admin and clan users will be created in different tables to make it easier…

 

Eg:

 

Admin table

-------------

Administration_id

Username

Password

Email

 

-------------

Users table

User_id

Clan_id (which will link me to their profile)

Username

Password

 

What will be the best way of doing this with oop?

 

Ricky

 

Link to comment
Share on other sites

im not sure what the best think is to do for what i need?

would this work?

 

users

------------------

user_id

clan_id

username

password

email

icon

access  'clan', 'admin'

--------------------

 

and if access = admin then i would leave clan_id blank?

 

can someone give me some id on how this should work?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.