SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Member
    Join Date
    May 2006
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question How to set up users through administration account?

    Hi,

    Does anybody know how to set up a site where an administrator can set up multiple user accounts using php and mysql?

    If anybody knows of any free scripts to learn from that would help a lot!

    Cheers guys!

  2. #2
    SitePoint Addict evertcollab's Avatar
    Join Date
    Apr 2006
    Posts
    241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I dont know any free scripts.. I would say your in the wrong place..

    Find a tutorial somewhere about php and start learning =)

  3. #3
    Non-Member Icheb's Avatar
    Join Date
    Mar 2003
    Location
    Germany
    Posts
    1,474
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You just insert the proper data into the database, most likely some table called "users" or the like. It's not possible to be more precise without further information.

  4. #4
    SitePoint Member
    Join Date
    May 2006
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, what i want to do is to set up accounts whereby certain users can do things that others cant eg a person can add detail about a seminar in biology, but not in terms of say history as they are not a member of that department.

    So an administrator can set up the account and then a person could add detail on that seminar such as when it occurs etc...

    Hope that is more helpful?

  5. #5
    Non-Member Icheb's Avatar
    Join Date
    Mar 2003
    Location
    Germany
    Posts
    1,474
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You put their permissions in the database and check them when they access the page. Really nothing difficult.

  6. #6
    SitePoint Member
    Join Date
    May 2006
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeah - cool - i can just add a row permission in the database and put administrator or user in there?

  7. #7
    SitePoint Member
    Join Date
    May 2006
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    in the user table

  8. #8
    Non-Member Icheb's Avatar
    Join Date
    Mar 2003
    Location
    Germany
    Posts
    1,474
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just TRY it. You can always come back later if you have questions.
    And please edit your posts instead of writing a new one.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •