Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Regular Coder
    Join Date
    Feb 2005
    Posts
    102
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Creating accounts

    I dont know if this is the right forum but anyway.
    well if you have something on ya main site where you got to create accoutns how do you do that. i know how to make them login but wat about the creating the accoutns just wanted to know how. and if each user logs in how will i make a index page for each user without doing it one on one. I guess one option is to make the folder e.g if the user was ausnrl id make it a special page and folder for him /ausnrl/ (on the site) but is there a quicker way. i can find out the 2nd later but i am eager to find out the first one first.

    thanks ausnrl

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,512
    Thanks
    8
    Thanked 1,090 Times in 1,081 Posts
    That involves using a server-side scripting language such as PHP or Perl.

    A user logs in and the scripts handle the password processing, setting cookies,
    and displaying (or allowing) the proper web pages for that user.

    There's usually an administration screen where the site operator can handle
    user names, passwords, and accounts.

    An alternate method not requiring a server-side script:
    Most webhosts have an .htaccess feature installed where the site owner can
    set password access on various directories. This approach will cause a
    pop-up password box to appear. You just need to give that password to
    your user.

  • #3
    Regular Coder
    Join Date
    Feb 2005
    Posts
    102
    Thanks
    3
    Thanked 0 Times in 0 Posts
    i know about the htaccess so do i still have to create a login page for every member? i read somewhere that a mysql database could be used wat happens there?

  • #4
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,512
    Thanks
    8
    Thanked 1,090 Times in 1,081 Posts
    With .htaccess, the directory has a password. Only you know the password, so you would have to give that to the person who needs to access it. They have no control over the password itself, only you can change it.

    Now, there's a way to use a server-side language such as PHP (which can use MySQL very nicely). That script would handle all of the .htaccess password stuff automatically, as well as maintaining a user database, login, etc.

    You would have to find a "free" script online, or purchase a package of some kind. Using PHP/MySQL has a pretty steep learning curve. Perhaps you can purchase a book or something that has some tutorials. Your webhost also needs to support PHP/MySQL.

  • #5
    Regular Coder
    Join Date
    Feb 2005
    Posts
    102
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by mlseim
    With .htaccess, the directory has a password. Only you know the password, so you would have to give that to the person who needs to access it. They have no control over the password itself, only you can change it.

    Now, there's a way to use a server-side language such as PHP (which can use MySQL very nicely). That script would handle all of the .htaccess password stuff automatically, as well as maintaining a user database, login, etc.

    You would have to find a "free" script online, or purchase a package of some kind. Using PHP/MySQL has a pretty steep learning curve. Perhaps you can purchase a book or something that has some tutorials. Your webhost also needs to support PHP/MySQL.
    well it supports them. so baisicly ur saying if i make one page in php right the htaccess will automatically connect with the database. And the htaccess will generate teh special account points etc.
    Last edited by ausnrl; 07-29-2005 at 10:38 AM.

  • #6
    Regular Coder
    Join Date
    Feb 2005
    Posts
    102
    Thanks
    3
    Thanked 0 Times in 0 Posts
    ^^ and the one mysql database i use will cover for the users and php ^^

  • #7
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,512
    Thanks
    8
    Thanked 1,090 Times in 1,081 Posts
    Yes,

    I'm thinking in the lines of a PHP/MySQL script like some of these:

    http://www.google.com/search?hl=en&q...ss+user+script


    Some are free, others have a fee. Some are easy to install, others are a bit more advanced. You'll have to pick and choose.

  • #8
    Regular Coder
    Join Date
    Feb 2005
    Posts
    102
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by mlseim
    Yes,

    I'm thinking in the lines of a PHP/MySQL script like some of these:

    http://www.google.com/search?hl=en&q...ss+user+script


    Some are free, others have a fee. Some are easy to install, others are a bit more advanced. You'll have to pick and choose.
    no i dont think ill need to do it that way caus i found out a htaccess and php code with mysql so i no how to do most of it thanks for ya help. but i will post here if i hav any problems.


  •  

    Posting Permissions

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