+ Reply to Thread
Results 1 to 7 of 7

Thread: Creating a Members Only Page

  1. #1
    crb001 Guest

    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 05:36 PM.

  2. #2
    Alan B's Avatar
    Alan B is offline Super Moderator
    Join Date
    Jul 2007
    Location
    Toronto, Canada
    Posts
    1,380
    WHB Points this Month
    0.00
    WHB Points
    290.00
    Thanks
    0
    Thanked 5 Times in 5 Posts

    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
    crb001 Guest

    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
    Alan B's Avatar
    Alan B is offline Super Moderator
    Join Date
    Jul 2007
    Location
    Toronto, Canada
    Posts
    1,380
    WHB Points this Month
    0.00
    WHB Points
    290.00
    Thanks
    0
    Thanked 5 Times in 5 Posts

    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
    Twiztid is offline Member
    Join Date
    Jul 2008
    Posts
    38
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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
    crb001 Guest

    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
    savings is offline New Bee
    Join Date
    Sep 2009
    Posts
    2
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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.
    [URL="http://www.bromoney.com/savings-account-interest-rates"]savings account[/URL]

+ Reply to Thread

Posting Permissions

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