+ Reply to Thread
Results 1 to 7 of 7

Thread: Creating a Members Only Page

  1. #1
    Join Date
    Aug 2008
    Location
    Illinois
    Posts
    3

    Default Creating a Members Only Page

    I am trying to create a "Members Only" page on a local dog club website, but have no idea how to do so. I assume I first need to create a form to collect a users name and password, then use some server side scripting to register the user and then determine if the user is valid before redirecting to the protected page. I assume I would also have to create a dB to store users names and passwords. I've got to believe there are "canned" solutions to this problem such that I shouldn't have to do much development. Can anyone point me in the right direction?

    Thanks in advance.
    Last edited by crb001; 07-29-2009 at 09:36 PM.

  2. #2
    Join Date
    Jul 2007
    Location
    Toronto, Canada
    Posts
    1,160

    Default

    Yep, it's quite easy. Just go to cPanel and use "Password Protect Directories".
    I am not WHB staff and I am not paid.
    I provide help in these forums on my own time.

  3. #3
    Join Date
    Aug 2008
    Location
    Illinois
    Posts
    3

    Default Thanks, but ...

    Wouldn't I still have to create a form to collect user name and password, create a dB to store user/password information, etc. or is this all available via cpanel with some configuration changes?

  4. #4
    Join Date
    Jul 2007
    Location
    Toronto, Canada
    Posts
    1,160

    Default

    Why not just try it? You'll learn by trying some of cPanel's features.

    "Password Protect Directories" enables you to set a password for the directory. It won't record separate user IDs, you just tell people what the directory password is. If you need users to be able to create individual logins, then you'd need a more complicated solution.
    I am not WHB staff and I am not paid.
    I provide help in these forums on my own time.

  5. #5

    Default

    well what is your website based on ( php nuke , smf ect.) if I knew which you were using I could help you out with that.

    Twiztid

  6. #6
    Join Date
    Aug 2008
    Location
    Illinois
    Posts
    3

    Default

    Actually, right now it's pretty simple, just html and css. It is for a local pet club site and the members want to have some information available to them only, not to the general public. I am not proficient in PHP, but would love to learn.

  7. #7

    Default

    PHP is actually not that hard. If you have any computer programming skills that helps, but once you pick up just the basics it's pretty easy, which is probably why it's so popular.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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