Jump to content

How to create a PHP form that assigns users MYSQL privileges and permissions


mosmartin

Recommended Posts

Hello fellow PHP Freaks  ;)

 

Is there a way to assign mysql access privileges using a php script? Maybe when your registering a user and assign them a role, depending on the role, they get certain privileges on the db...

I need help.

 

Thank you in advance.

Link to comment
Share on other sites

Hello  Chintansshah, I have managed to create users with privileges from MySQL but I was wondering if it's possible to do so from a web interface. E.G. have an interface with check boxes that assigns certain privileges to users as they are being registered. Or how does someone create a role and assign it privileges so that when a user is registered under that role, they automatically get the privileges assigned to that role.

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.